# Competition Leaders

Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons.

## competition statistical leaders

> Return a list of the leading persons for a statistic in a competition, aggregated across all included seasons in that competition.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this competition person statistics belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"Total number of assists","type":"integer","nullable":true,"format":"int32"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","nullable":true,"format":"float"},"badPasses":{"description":"Number of unsuccessful passes completed","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"Total number of blocks","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","nullable":true,"format":"float"},"challengesEarned":{"description":"Total number of challenges earned","type":"integer","nullable":true,"format":"int32"},"challengesEarnedPerGame":{"description":"Average number of challenges earned per game","type":"number","nullable":true,"format":"float"},"challengesScored":{"description":"Total number of goals scored from a challenge","type":"integer","nullable":true,"format":"int32"},"challengesScoredPerGame":{"description":"Average number of challenges scored per game","type":"number","nullable":true,"format":"float"},"circlePenetrations":{"description":"Total number of circle entries","type":"integer","nullable":true,"format":"int32"},"circlePenetrationsPerGame":{"description":"Average number of circle entries per game","type":"number","nullable":true,"format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissed":{"description":"Total number of field goal conversions missed","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissedPerGame":{"description":"Average number of field goal conversions missed per game","type":"number","nullable":true,"format":"float"},"fieldGoalConversionsScored":{"description":"Total number of goals scored from Field Goal Conversions","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsScoredPerGame":{"description":"Average number of goals scored per game from Field Goal Conversions","type":"number","nullable":true,"format":"float"},"fieldGoalsScored":{"description":"Total number of Field Goals scored","type":"integer","nullable":true,"format":"int32"},"fieldGoalsScoredPerGame":{"description":"Average number of field goals scored per game","type":"number","nullable":true,"format":"float"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"gamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"goalsConceded":{"description":"Total number of goals conceded","type":"integer","nullable":true,"format":"int32"},"goalsConcededPerGame":{"description":"Average number of goals conceded per game","type":"number","nullable":true,"format":"float"},"goalsConcededShootOut":{"description":"Total number of goals conceded during shoot-outs","type":"integer","nullable":true,"format":"int32"},"goalsScored":{"description":"Total number of goals scored","type":"integer","nullable":true,"format":"int32"},"goalsScoredPerGame":{"description":"Average number of goals scored per game","type":"number","nullable":true,"format":"float"},"goalsShootOut":{"description":"Total number of goals scored from shoot out shots","type":"integer","nullable":true,"format":"int32"},"greenCards":{"description":"Total number of green cards","type":"integer","nullable":true,"format":"int32"},"greenCardsPerGame":{"description":"Average number of green cards per game","type":"number","nullable":true,"format":"float"},"interceptions":{"description":"Total number of interceptions","type":"integer","nullable":true,"format":"int32"},"interceptionsPerGame":{"description":"Average number of interceptions per game","type":"number","nullable":true,"format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the player was on the field. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minutesPerGame":{"description":"Average number of minutes per game","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minus":{"description":"The number of goals conceded by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"numberOfDraws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"numberOfGamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"numberOfLosses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"numberOfWins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"passAccuracy":{"description":"The percentage of successful passes","type":"number","nullable":true,"format":"float"},"passes":{"description":"Number of successful passes completed","type":"integer","nullable":true,"format":"int32"},"passesPerGame":{"description":"Average number of successful passes that the team completed per game","type":"number","nullable":true,"format":"float"},"penaltyCornersEarned":{"description":"Total number of penalty corners earned","type":"integer","nullable":true,"format":"int32"},"penaltyCornersEarnedPerGame":{"description":"Average number of penalty corners earned per game","type":"number","nullable":true,"format":"float"},"penaltyCornersScored":{"description":"Total number of goals scored from Penalty Corners","type":"integer","nullable":true,"format":"int32"},"penaltyCornersScoredPerGame":{"description":"Average number of goals scored per game from Penalty Corners","type":"number","nullable":true,"format":"float"},"penaltyStrokesEarned":{"description":"Total number of penalty strokes earned","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesEarnedPerGame":{"description":"Average number of penalty strokes earned per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesMissed":{"description":"Total number of penalty strokes missed","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesMissedPerGame":{"description":"Average number of penalty strokes missed per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesSaved":{"description":"Total number of penalty strokes saved","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesSavedPerGame":{"description":"Average number of penalty strokes saved per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesScored":{"description":"Total number of goals scored from Penalty Strokes","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesScoredPerGame":{"description":"Average number of goals scored per game from Penalty Strokes","type":"number","nullable":true,"format":"float"},"penaltyStrokesShootoutEarned":{"description":"Total number of penalty strokes earned during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutMissed":{"description":"Total number of penalty strokes missed during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutScored":{"description":"Total number of penalty strokes scored during shootouts","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesAgainst":{"description":"Total number of penalty strokes attempts faced by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainst":{"description":"Total number of penalty stroke goals conceded by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainstPerMatch":{"description":"Average number of penalty strokes conceded by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaved":{"description":"Total number of penalty strokes saved by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesSavedPerMatch":{"description":"Average number of penalty strokes saved by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaveAccuracy":{"description":"Rate of all penalty strokes saved by the goalkeeper","type":"number","format":"float"},"plus":{"description":"The number of goals scored by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"plusMinus":{"description":"goals scored/conceded while this player is on the field","type":"integer","nullable":true,"format":"int32"},"redCards":{"description":"Total number of red cards missed","type":"integer","nullable":true,"format":"int32"},"redCardsPerGame":{"description":"Average number of red cards per game","type":"number","nullable":true,"format":"float"},"saves":{"description":"Total number of saves","type":"integer","nullable":true,"format":"int32"},"savesPerGame":{"description":"Average number of saves per game","type":"number","nullable":true,"format":"float"},"savesShootOut":{"description":"Total number of shoot out shots saved","type":"integer","nullable":true,"format":"int32"},"shotAccuracy":{"description":"The percentage of shots that are on target including goals","type":"number","nullable":true,"format":"float"},"shots":{"description":"Total number of shots","type":"integer","nullable":true,"format":"int32"},"shotsMissed":{"description":"Total number of shots missed","type":"integer","nullable":true,"format":"int32"},"shotsMissedShootOut":{"description":"Total number of shoot out shots missed","type":"integer","nullable":true,"format":"int32"},"shotsOnTarget":{"description":"Total number of shots on target","type":"integer","nullable":true,"format":"int32"},"shotsOnTargetPerGame":{"description":"Average number of shots on target per game","type":"number","nullable":true,"format":"float"},"shotsPerGame":{"description":"Average number of shots per game","type":"number","nullable":true,"format":"float"},"tackles":{"description":"Total number of tackles","type":"integer","nullable":true,"format":"int32"},"tacklesPerGame":{"description":"Average number of tackles per game","type":"number","nullable":true,"format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"yellowCards":{"description":"Total number of yellow cards","type":"integer","nullable":true,"format":"int32"},"yellowCardsPerGame":{"description":"Average number of yellow cards per game","type":"number","nullable":true,"format":"float"}}}},"title":"competition person statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"entityId":{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fixtureType":{"name":"fixtureType","description":"Type of Fixture\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"homeAway":{"name":"homeAway","description":"Where the result was\n>- `AWAY` Away\n>- `HOME` Home\n","schema":{"type":"string","enum":["HOME","AWAY"],"maxLength":50},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"isPlayer":{"name":"isPlayer","description":"Is the person a player?","schema":{"type":"boolean"},"required":false,"in":"query"},"isTeamOfficial":{"name":"isTeamOfficial","description":"Is the person a team official?","schema":{"type":"boolean"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"personId":{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"starter":{"name":"starter","description":"Is the person a starter in the match ?","schema":{"type":"boolean"},"required":false,"in":"query"},"winLoss":{"name":"winLoss","description":"What the result was\n>- `DRAW` Draw\n>- `LOSS` Loss\n>- `WIN` Win\n","schema":{"type":"string","enum":["WIN","LOSS","DRAW"],"maxLength":50},"required":false,"in":"query"}}},"paths":{"/hockey/o/{organizationId}/statistics/leaders/for/{statistic}/in/competitions/{competitionId}":{"get":{"tags":["Competition Leaders"],"summary":"competition statistical leaders","description":"Return a list of the leading persons for a statistic in a competition, aggregated across all included seasons in that competition.","operationId":"cl_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Statistics Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/starter"},{"name":"statistic","description":"The name of the statistic","schema":{"type":"string","maxLength":50},"required":true,"in":"path"},{"$ref":"#/components/parameters/winLoss"}]}}}}
```

## competition statistical leader summary

> Return a summary of the leading persons for a number of statistics in a competition. Only the requested statistic is returned within the 'statistics' object of each row.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Leader_SummaryModel":{"type":"object","additionalProperties":false,"properties":{"statName":{"description":"There will be an element/object here for each statistic you have requested. The 'statName' key will be the name of the statistics. eg `points`","type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/Season_Person_StatisticsModel"}}},"title":"Season Leader Summary model"},"Season_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this season person statistics belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"Total number of assists","type":"integer","nullable":true,"format":"int32"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","nullable":true,"format":"float"},"badPasses":{"description":"Number of unsuccessful passes completed","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"Total number of blocks","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","nullable":true,"format":"float"},"challengesEarned":{"description":"Total number of challenges earned","type":"integer","nullable":true,"format":"int32"},"challengesEarnedPerGame":{"description":"Average number of challenges earned per game","type":"number","nullable":true,"format":"float"},"challengesScored":{"description":"Total number of goals scored from a challenge","type":"integer","nullable":true,"format":"int32"},"challengesScoredPerGame":{"description":"Average number of challenges scored per game","type":"number","nullable":true,"format":"float"},"circlePenetrations":{"description":"Total number of circle entries","type":"integer","nullable":true,"format":"int32"},"circlePenetrationsPerGame":{"description":"Average number of circle entries per game","type":"number","nullable":true,"format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissed":{"description":"Total number of field goal conversions missed","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissedPerGame":{"description":"Average number of field goal conversions missed per game","type":"number","nullable":true,"format":"float"},"fieldGoalConversionsScored":{"description":"Total number of goals scored from Field Goal Conversions","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsScoredPerGame":{"description":"Average number of goals scored per game from Field Goal Conversions","type":"number","nullable":true,"format":"float"},"fieldGoalsScored":{"description":"Total number of Field Goals scored","type":"integer","nullable":true,"format":"int32"},"fieldGoalsScoredPerGame":{"description":"Average number of field goals scored per game","type":"number","nullable":true,"format":"float"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"gamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"goalsConceded":{"description":"Total number of goals conceded","type":"integer","nullable":true,"format":"int32"},"goalsConcededPerGame":{"description":"Average number of goals conceded per game","type":"number","nullable":true,"format":"float"},"goalsConcededShootOut":{"description":"Total number of goals conceded during shoot-outs","type":"integer","nullable":true,"format":"int32"},"goalsScored":{"description":"Total number of goals scored","type":"integer","nullable":true,"format":"int32"},"goalsScoredPerGame":{"description":"Average number of goals scored per game","type":"number","nullable":true,"format":"float"},"goalsShootOut":{"description":"Total number of goals scored from shoot out shots","type":"integer","nullable":true,"format":"int32"},"greenCards":{"description":"Total number of green cards","type":"integer","nullable":true,"format":"int32"},"greenCardsPerGame":{"description":"Average number of green cards per game","type":"number","nullable":true,"format":"float"},"interceptions":{"description":"Total number of interceptions","type":"integer","nullable":true,"format":"int32"},"interceptionsPerGame":{"description":"Average number of interceptions per game","type":"number","nullable":true,"format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the player was on the field. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minutesPerGame":{"description":"Average number of minutes per game","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minus":{"description":"The number of goals conceded by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"numberOfDraws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"numberOfGamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"numberOfLosses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"numberOfWins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"passAccuracy":{"description":"The percentage of successful passes","type":"number","nullable":true,"format":"float"},"passes":{"description":"Number of successful passes completed","type":"integer","nullable":true,"format":"int32"},"passesPerGame":{"description":"Average number of successful passes that the team completed per game","type":"number","nullable":true,"format":"float"},"penaltyCornersEarned":{"description":"Total number of penalty corners earned","type":"integer","nullable":true,"format":"int32"},"penaltyCornersEarnedPerGame":{"description":"Average number of penalty corners earned per game","type":"number","nullable":true,"format":"float"},"penaltyCornersScored":{"description":"Total number of goals scored from Penalty Corners","type":"integer","nullable":true,"format":"int32"},"penaltyCornersScoredPerGame":{"description":"Average number of goals scored per game from Penalty Corners","type":"number","nullable":true,"format":"float"},"penaltyStrokesEarned":{"description":"Total number of penalty strokes earned","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesEarnedPerGame":{"description":"Average number of penalty strokes earned per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesMissed":{"description":"Total number of penalty strokes missed","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesMissedPerGame":{"description":"Average number of penalty strokes missed per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesSaved":{"description":"Total number of penalty strokes saved","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesSavedPerGame":{"description":"Average number of penalty strokes saved per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesScored":{"description":"Total number of goals scored from Penalty Strokes","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesScoredPerGame":{"description":"Average number of goals scored per game from Penalty Strokes","type":"number","nullable":true,"format":"float"},"penaltyStrokesShootoutEarned":{"description":"Total number of penalty strokes earned during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutMissed":{"description":"Total number of penalty strokes missed during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutScored":{"description":"Total number of penalty strokes scored during shootouts","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesAgainst":{"description":"Total number of penalty strokes attempts faced by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainst":{"description":"Total number of penalty stroke goals conceded by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainstPerMatch":{"description":"Average number of penalty strokes conceded by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaved":{"description":"Total number of penalty strokes saved by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesSavedPerMatch":{"description":"Average number of penalty strokes saved by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaveAccuracy":{"description":"Rate of all penalty strokes saved by the goalkeeper","type":"number","format":"float"},"plus":{"description":"The number of goals scored by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"plusMinus":{"description":"goals scored/conceded while this player is on the field","type":"integer","nullable":true,"format":"int32"},"redCards":{"description":"Total number of red cards missed","type":"integer","nullable":true,"format":"int32"},"redCardsPerGame":{"description":"Average number of red cards per game","type":"number","nullable":true,"format":"float"},"saves":{"description":"Total number of saves","type":"integer","nullable":true,"format":"int32"},"savesPerGame":{"description":"Average number of saves per game","type":"number","nullable":true,"format":"float"},"savesShootOut":{"description":"Total number of shoot out shots saved","type":"integer","nullable":true,"format":"int32"},"shotAccuracy":{"description":"The percentage of shots that are on target including goals","type":"number","nullable":true,"format":"float"},"shots":{"description":"Total number of shots","type":"integer","nullable":true,"format":"int32"},"shotsMissed":{"description":"Total number of shots missed","type":"integer","nullable":true,"format":"int32"},"shotsMissedShootOut":{"description":"Total number of shoot out shots missed","type":"integer","nullable":true,"format":"int32"},"shotsOnTarget":{"description":"Total number of shots on target","type":"integer","nullable":true,"format":"int32"},"shotsOnTargetPerGame":{"description":"Average number of shots on target per game","type":"number","nullable":true,"format":"float"},"shotsPerGame":{"description":"Average number of shots per game","type":"number","nullable":true,"format":"float"},"tackles":{"description":"Total number of tackles","type":"integer","nullable":true,"format":"int32"},"tacklesPerGame":{"description":"Average number of tackles per game","type":"number","nullable":true,"format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"yellowCards":{"description":"Total number of yellow cards","type":"integer","nullable":true,"format":"int32"},"yellowCardsPerGame":{"description":"Average number of yellow cards per game","type":"number","nullable":true,"format":"float"}}}},"title":"season person statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"entityId":{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fixtureType":{"name":"fixtureType","description":"Type of Fixture\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"homeAway":{"name":"homeAway","description":"Where the result was\n>- `AWAY` Away\n>- `HOME` Home\n","schema":{"type":"string","enum":["HOME","AWAY"],"maxLength":50},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"isPlayer":{"name":"isPlayer","description":"Is the person a player?","schema":{"type":"boolean"},"required":false,"in":"query"},"isTeamOfficial":{"name":"isTeamOfficial","description":"Is the person a team official?","schema":{"type":"boolean"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"personId":{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"starter":{"name":"starter","description":"Is the person a starter in the match ?","schema":{"type":"boolean"},"required":false,"in":"query"},"statistics":{"name":"statistics","description":"The name of the statistic. Can specify multiple, delimited by comma.","schema":{"type":"string"},"required":false,"in":"query"},"winLoss":{"name":"winLoss","description":"What the result was\n>- `DRAW` Draw\n>- `LOSS` Loss\n>- `WIN` Win\n","schema":{"type":"string","enum":["WIN","LOSS","DRAW"],"maxLength":50},"required":false,"in":"query"}}},"paths":{"/hockey/o/{organizationId}/statistics/leaders/in/competitions/{competitionId}":{"get":{"tags":["Competition Leaders"],"summary":"competition statistical leader summary","description":"Return a summary of the leading persons for a number of statistics in a competition. Only the requested statistic is returned within the 'statistics' object of each row.","operationId":"cl_list_summary","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Leader_Summary Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Leader_SummaryModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/statistics"},{"$ref":"#/components/parameters/winLoss"}]}}}}
```

## Fast (pre-aggregated) competition statistical leaders

> Return pre-aggregated list of the leading persons for a statistic in a competition derived from the side table based on aggregated data across all included seasons in that competition.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_LeadersModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this competition person leaders belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"fixtureType":{"description":"Fixture type bucket (ALL, REGULAR, PLAYOFF, FINAL)","type":"string","maxLength":30},"statisticField":{"description":"Statistic field name ranked in this row","type":"string","maxLength":100},"order":{"description":"Precomputed order","type":"integer","format":"int32"},"statistics":{},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"competition person leaders model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fixtureType":{"name":"fixtureType","description":"Type of Fixture\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"}}},"paths":{"/hockey/o/{organizationId}/statistics/leaders/for/{statistic}/in/competitions/{competitionId}/simple":{"get":{"tags":["Competition Leaders"],"summary":"Fast (pre-aggregated) competition statistical leaders","description":"Return pre-aggregated list of the leading persons for a statistic in a competition derived from the side table based on aggregated data across all included seasons in that competition.","operationId":"cl_list_simple_for_stat","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Leaders Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_LeadersModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"},{"name":"statistic","description":"The name of the statistic","schema":{"type":"string","maxLength":50},"required":true,"in":"path"}]}}}}
```

## Fast (pre-aggregated) competition statistical leader summary

> Return a summary {stat: rows} from the side table for the requested statistics.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_LeadersModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this competition person leaders belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"fixtureType":{"description":"Fixture type bucket (ALL, REGULAR, PLAYOFF, FINAL)","type":"string","maxLength":30},"statisticField":{"description":"Statistic field name ranked in this row","type":"string","maxLength":100},"order":{"description":"Precomputed order","type":"integer","format":"int32"},"statistics":{},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"competition person leaders model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fixtureType":{"name":"fixtureType","description":"Type of Fixture\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"statistics":{"name":"statistics","description":"The name of the statistic. Can specify multiple, delimited by comma.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/hockey/o/{organizationId}/statistics/leaders/in/competitions/{competitionId}/simple":{"get":{"tags":["Competition Leaders"],"summary":"Fast (pre-aggregated) competition statistical leader summary","description":"Return a summary {stat: rows} from the side table for the requested statistics.","operationId":"cl_list_simple_summary","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Leaders Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_LeadersModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"},{"$ref":"#/components/parameters/statistics"}]}}}}
```

## Build competition person leaders side table

> Build pre-aggregated competition person leaders for a competition.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this competition person statistics belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"Total number of assists","type":"integer","nullable":true,"format":"int32"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","nullable":true,"format":"float"},"badPasses":{"description":"Number of unsuccessful passes completed","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"Total number of blocks","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","nullable":true,"format":"float"},"challengesEarned":{"description":"Total number of challenges earned","type":"integer","nullable":true,"format":"int32"},"challengesEarnedPerGame":{"description":"Average number of challenges earned per game","type":"number","nullable":true,"format":"float"},"challengesScored":{"description":"Total number of goals scored from a challenge","type":"integer","nullable":true,"format":"int32"},"challengesScoredPerGame":{"description":"Average number of challenges scored per game","type":"number","nullable":true,"format":"float"},"circlePenetrations":{"description":"Total number of circle entries","type":"integer","nullable":true,"format":"int32"},"circlePenetrationsPerGame":{"description":"Average number of circle entries per game","type":"number","nullable":true,"format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissed":{"description":"Total number of field goal conversions missed","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissedPerGame":{"description":"Average number of field goal conversions missed per game","type":"number","nullable":true,"format":"float"},"fieldGoalConversionsScored":{"description":"Total number of goals scored from Field Goal Conversions","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsScoredPerGame":{"description":"Average number of goals scored per game from Field Goal Conversions","type":"number","nullable":true,"format":"float"},"fieldGoalsScored":{"description":"Total number of Field Goals scored","type":"integer","nullable":true,"format":"int32"},"fieldGoalsScoredPerGame":{"description":"Average number of field goals scored per game","type":"number","nullable":true,"format":"float"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"gamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"goalsConceded":{"description":"Total number of goals conceded","type":"integer","nullable":true,"format":"int32"},"goalsConcededPerGame":{"description":"Average number of goals conceded per game","type":"number","nullable":true,"format":"float"},"goalsConcededShootOut":{"description":"Total number of goals conceded during shoot-outs","type":"integer","nullable":true,"format":"int32"},"goalsScored":{"description":"Total number of goals scored","type":"integer","nullable":true,"format":"int32"},"goalsScoredPerGame":{"description":"Average number of goals scored per game","type":"number","nullable":true,"format":"float"},"goalsShootOut":{"description":"Total number of goals scored from shoot out shots","type":"integer","nullable":true,"format":"int32"},"greenCards":{"description":"Total number of green cards","type":"integer","nullable":true,"format":"int32"},"greenCardsPerGame":{"description":"Average number of green cards per game","type":"number","nullable":true,"format":"float"},"interceptions":{"description":"Total number of interceptions","type":"integer","nullable":true,"format":"int32"},"interceptionsPerGame":{"description":"Average number of interceptions per game","type":"number","nullable":true,"format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the player was on the field. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minutesPerGame":{"description":"Average number of minutes per game","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minus":{"description":"The number of goals conceded by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"numberOfDraws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"numberOfGamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"numberOfLosses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"numberOfWins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"passAccuracy":{"description":"The percentage of successful passes","type":"number","nullable":true,"format":"float"},"passes":{"description":"Number of successful passes completed","type":"integer","nullable":true,"format":"int32"},"passesPerGame":{"description":"Average number of successful passes that the team completed per game","type":"number","nullable":true,"format":"float"},"penaltyCornersEarned":{"description":"Total number of penalty corners earned","type":"integer","nullable":true,"format":"int32"},"penaltyCornersEarnedPerGame":{"description":"Average number of penalty corners earned per game","type":"number","nullable":true,"format":"float"},"penaltyCornersScored":{"description":"Total number of goals scored from Penalty Corners","type":"integer","nullable":true,"format":"int32"},"penaltyCornersScoredPerGame":{"description":"Average number of goals scored per game from Penalty Corners","type":"number","nullable":true,"format":"float"},"penaltyStrokesEarned":{"description":"Total number of penalty strokes earned","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesEarnedPerGame":{"description":"Average number of penalty strokes earned per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesMissed":{"description":"Total number of penalty strokes missed","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesMissedPerGame":{"description":"Average number of penalty strokes missed per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesSaved":{"description":"Total number of penalty strokes saved","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesSavedPerGame":{"description":"Average number of penalty strokes saved per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesScored":{"description":"Total number of goals scored from Penalty Strokes","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesScoredPerGame":{"description":"Average number of goals scored per game from Penalty Strokes","type":"number","nullable":true,"format":"float"},"penaltyStrokesShootoutEarned":{"description":"Total number of penalty strokes earned during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutMissed":{"description":"Total number of penalty strokes missed during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutScored":{"description":"Total number of penalty strokes scored during shootouts","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesAgainst":{"description":"Total number of penalty strokes attempts faced by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainst":{"description":"Total number of penalty stroke goals conceded by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainstPerMatch":{"description":"Average number of penalty strokes conceded by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaved":{"description":"Total number of penalty strokes saved by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesSavedPerMatch":{"description":"Average number of penalty strokes saved by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaveAccuracy":{"description":"Rate of all penalty strokes saved by the goalkeeper","type":"number","format":"float"},"plus":{"description":"The number of goals scored by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"plusMinus":{"description":"goals scored/conceded while this player is on the field","type":"integer","nullable":true,"format":"int32"},"redCards":{"description":"Total number of red cards missed","type":"integer","nullable":true,"format":"int32"},"redCardsPerGame":{"description":"Average number of red cards per game","type":"number","nullable":true,"format":"float"},"saves":{"description":"Total number of saves","type":"integer","nullable":true,"format":"int32"},"savesPerGame":{"description":"Average number of saves per game","type":"number","nullable":true,"format":"float"},"savesShootOut":{"description":"Total number of shoot out shots saved","type":"integer","nullable":true,"format":"int32"},"shotAccuracy":{"description":"The percentage of shots that are on target including goals","type":"number","nullable":true,"format":"float"},"shots":{"description":"Total number of shots","type":"integer","nullable":true,"format":"int32"},"shotsMissed":{"description":"Total number of shots missed","type":"integer","nullable":true,"format":"int32"},"shotsMissedShootOut":{"description":"Total number of shoot out shots missed","type":"integer","nullable":true,"format":"int32"},"shotsOnTarget":{"description":"Total number of shots on target","type":"integer","nullable":true,"format":"int32"},"shotsOnTargetPerGame":{"description":"Average number of shots on target per game","type":"number","nullable":true,"format":"float"},"shotsPerGame":{"description":"Average number of shots per game","type":"number","nullable":true,"format":"float"},"tackles":{"description":"Total number of tackles","type":"integer","nullable":true,"format":"int32"},"tacklesPerGame":{"description":"Average number of tackles per game","type":"number","nullable":true,"format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"yellowCards":{"description":"Total number of yellow cards","type":"integer","nullable":true,"format":"int32"},"yellowCardsPerGame":{"description":"Average number of yellow cards per game","type":"number","nullable":true,"format":"float"}}}},"title":"competition person statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/hockey/o/{organizationId}/statistics/leaders/in/competitions/{competitionId}/build":{"post":{"tags":["Competition Leaders"],"summary":"Build competition person leaders side table","description":"Build pre-aggregated competition person leaders for a competition.","operationId":"cl_build","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Statistics Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"}]}}}}
```

## Build all competition person leaders (org)

> Build pre-aggregated competition person leaders for all competitions in an organization.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this competition person statistics belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"Total number of assists","type":"integer","nullable":true,"format":"int32"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","nullable":true,"format":"float"},"badPasses":{"description":"Number of unsuccessful passes completed","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"Total number of blocks","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","nullable":true,"format":"float"},"challengesEarned":{"description":"Total number of challenges earned","type":"integer","nullable":true,"format":"int32"},"challengesEarnedPerGame":{"description":"Average number of challenges earned per game","type":"number","nullable":true,"format":"float"},"challengesScored":{"description":"Total number of goals scored from a challenge","type":"integer","nullable":true,"format":"int32"},"challengesScoredPerGame":{"description":"Average number of challenges scored per game","type":"number","nullable":true,"format":"float"},"circlePenetrations":{"description":"Total number of circle entries","type":"integer","nullable":true,"format":"int32"},"circlePenetrationsPerGame":{"description":"Average number of circle entries per game","type":"number","nullable":true,"format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissed":{"description":"Total number of field goal conversions missed","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissedPerGame":{"description":"Average number of field goal conversions missed per game","type":"number","nullable":true,"format":"float"},"fieldGoalConversionsScored":{"description":"Total number of goals scored from Field Goal Conversions","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsScoredPerGame":{"description":"Average number of goals scored per game from Field Goal Conversions","type":"number","nullable":true,"format":"float"},"fieldGoalsScored":{"description":"Total number of Field Goals scored","type":"integer","nullable":true,"format":"int32"},"fieldGoalsScoredPerGame":{"description":"Average number of field goals scored per game","type":"number","nullable":true,"format":"float"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"gamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"goalsConceded":{"description":"Total number of goals conceded","type":"integer","nullable":true,"format":"int32"},"goalsConcededPerGame":{"description":"Average number of goals conceded per game","type":"number","nullable":true,"format":"float"},"goalsConcededShootOut":{"description":"Total number of goals conceded during shoot-outs","type":"integer","nullable":true,"format":"int32"},"goalsScored":{"description":"Total number of goals scored","type":"integer","nullable":true,"format":"int32"},"goalsScoredPerGame":{"description":"Average number of goals scored per game","type":"number","nullable":true,"format":"float"},"goalsShootOut":{"description":"Total number of goals scored from shoot out shots","type":"integer","nullable":true,"format":"int32"},"greenCards":{"description":"Total number of green cards","type":"integer","nullable":true,"format":"int32"},"greenCardsPerGame":{"description":"Average number of green cards per game","type":"number","nullable":true,"format":"float"},"interceptions":{"description":"Total number of interceptions","type":"integer","nullable":true,"format":"int32"},"interceptionsPerGame":{"description":"Average number of interceptions per game","type":"number","nullable":true,"format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the player was on the field. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minutesPerGame":{"description":"Average number of minutes per game","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minus":{"description":"The number of goals conceded by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"numberOfDraws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"numberOfGamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"numberOfLosses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"numberOfWins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"passAccuracy":{"description":"The percentage of successful passes","type":"number","nullable":true,"format":"float"},"passes":{"description":"Number of successful passes completed","type":"integer","nullable":true,"format":"int32"},"passesPerGame":{"description":"Average number of successful passes that the team completed per game","type":"number","nullable":true,"format":"float"},"penaltyCornersEarned":{"description":"Total number of penalty corners earned","type":"integer","nullable":true,"format":"int32"},"penaltyCornersEarnedPerGame":{"description":"Average number of penalty corners earned per game","type":"number","nullable":true,"format":"float"},"penaltyCornersScored":{"description":"Total number of goals scored from Penalty Corners","type":"integer","nullable":true,"format":"int32"},"penaltyCornersScoredPerGame":{"description":"Average number of goals scored per game from Penalty Corners","type":"number","nullable":true,"format":"float"},"penaltyStrokesEarned":{"description":"Total number of penalty strokes earned","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesEarnedPerGame":{"description":"Average number of penalty strokes earned per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesMissed":{"description":"Total number of penalty strokes missed","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesMissedPerGame":{"description":"Average number of penalty strokes missed per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesSaved":{"description":"Total number of penalty strokes saved","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesSavedPerGame":{"description":"Average number of penalty strokes saved per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesScored":{"description":"Total number of goals scored from Penalty Strokes","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesScoredPerGame":{"description":"Average number of goals scored per game from Penalty Strokes","type":"number","nullable":true,"format":"float"},"penaltyStrokesShootoutEarned":{"description":"Total number of penalty strokes earned during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutMissed":{"description":"Total number of penalty strokes missed during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutScored":{"description":"Total number of penalty strokes scored during shootouts","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesAgainst":{"description":"Total number of penalty strokes attempts faced by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainst":{"description":"Total number of penalty stroke goals conceded by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainstPerMatch":{"description":"Average number of penalty strokes conceded by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaved":{"description":"Total number of penalty strokes saved by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesSavedPerMatch":{"description":"Average number of penalty strokes saved by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaveAccuracy":{"description":"Rate of all penalty strokes saved by the goalkeeper","type":"number","format":"float"},"plus":{"description":"The number of goals scored by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"plusMinus":{"description":"goals scored/conceded while this player is on the field","type":"integer","nullable":true,"format":"int32"},"redCards":{"description":"Total number of red cards missed","type":"integer","nullable":true,"format":"int32"},"redCardsPerGame":{"description":"Average number of red cards per game","type":"number","nullable":true,"format":"float"},"saves":{"description":"Total number of saves","type":"integer","nullable":true,"format":"int32"},"savesPerGame":{"description":"Average number of saves per game","type":"number","nullable":true,"format":"float"},"savesShootOut":{"description":"Total number of shoot out shots saved","type":"integer","nullable":true,"format":"int32"},"shotAccuracy":{"description":"The percentage of shots that are on target including goals","type":"number","nullable":true,"format":"float"},"shots":{"description":"Total number of shots","type":"integer","nullable":true,"format":"int32"},"shotsMissed":{"description":"Total number of shots missed","type":"integer","nullable":true,"format":"int32"},"shotsMissedShootOut":{"description":"Total number of shoot out shots missed","type":"integer","nullable":true,"format":"int32"},"shotsOnTarget":{"description":"Total number of shots on target","type":"integer","nullable":true,"format":"int32"},"shotsOnTargetPerGame":{"description":"Average number of shots on target per game","type":"number","nullable":true,"format":"float"},"shotsPerGame":{"description":"Average number of shots per game","type":"number","nullable":true,"format":"float"},"tackles":{"description":"Total number of tackles","type":"integer","nullable":true,"format":"int32"},"tacklesPerGame":{"description":"Average number of tackles per game","type":"number","nullable":true,"format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"yellowCards":{"description":"Total number of yellow cards","type":"integer","nullable":true,"format":"int32"},"yellowCardsPerGame":{"description":"Average number of yellow cards per game","type":"number","nullable":true,"format":"float"}}}},"title":"competition person statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/hockey/o/{organizationId}/statistics/leaders/in/competitions/build":{"post":{"tags":["Competition Leaders"],"summary":"Build all competition person leaders (org)","description":"Build pre-aggregated competition person leaders for all competitions in an organization.","operationId":"cl_build_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Statistics Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"}]}}}}
```

## List competition leaders configuration

> Return configuration rows that drive competition person leaders builds.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:admin"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_Leaders_ConfigurationModel":{"type":"object","additionalProperties":false,"properties":{"competitionPersonLeadersConfigurationId":{"description":"The unique identifier of the ~competition person leaders configuration~ row","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5},"competitionId":{"description":"The unique identifier of the competition (optional for org-wide config)","type":"string","format":"uuid","nullable":true},"runEvery":{"description":"Minutes between scheduled builds (0 to always allow)","type":"integer","format":"int32"},"lastRun":{"description":"Timestamp of the last successful build per configuration row","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"competition person leaders configuration model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"competitionId":{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"organizationId":{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":false,"in":"query"}}},"paths":{"/hockey/admin/statistics/leaders/in/competitions/config":{"get":{"tags":["Competition Leaders"],"summary":"List competition leaders configuration","description":"Return configuration rows that drive competition person leaders builds.","operationId":"cl_config_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Leaders_Configuration Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_Leaders_ConfigurationModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/organizationId"}]}}}}
```

## Upsert competition person leaders configuration

> Insert or update competition person leaders configuration rows.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:admin"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_Leaders_ConfigurationModel":{"type":"object","additionalProperties":false,"properties":{"competitionPersonLeadersConfigurationId":{"description":"The unique identifier of the ~competition person leaders configuration~ row","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5},"competitionId":{"description":"The unique identifier of the competition (optional for org-wide config)","type":"string","format":"uuid","nullable":true},"runEvery":{"description":"Minutes between scheduled builds (0 to always allow)","type":"integer","format":"int32"},"lastRun":{"description":"Timestamp of the last successful build per configuration row","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"competition person leaders configuration model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"competitionId":{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"organizationId":{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":false,"in":"query"}}},"paths":{"/hockey/admin/statistics/leaders/in/competitions/config":{"post":{"tags":["Competition Leaders"],"summary":"Upsert competition person leaders configuration","description":"Insert or update competition person leaders configuration rows.","operationId":"cl_config_upsert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Leaders_Configuration Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_Leaders_ConfigurationModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/organizationId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"competitionPersonLeadersConfigurationId":{"description":"The unique identifier of the ~competition person leaders configuration~ row","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5},"competitionId":{"description":"The unique identifier of the competition (optional for org-wide config)","type":"string","format":"uuid","nullable":true},"runEvery":{"description":"Minutes between scheduled builds (0 to always allow)","type":"integer","format":"int32"}},"title":"competition person leaders configuration post body","required":["organizationId"]}}}}}}}}
```

## Delete competition person leaders configuration

> Remove competition person leaders configuration rows.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:admin"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_Leaders_ConfigurationModel":{"type":"object","additionalProperties":false,"properties":{"competitionPersonLeadersConfigurationId":{"description":"The unique identifier of the ~competition person leaders configuration~ row","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5},"competitionId":{"description":"The unique identifier of the competition (optional for org-wide config)","type":"string","format":"uuid","nullable":true},"runEvery":{"description":"Minutes between scheduled builds (0 to always allow)","type":"integer","format":"int32"},"lastRun":{"description":"Timestamp of the last successful build per configuration row","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"competition person leaders configuration model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"competitionId":{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"organizationId":{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":false,"in":"query"}}},"paths":{"/hockey/admin/statistics/leaders/in/competitions/config":{"delete":{"tags":["Competition Leaders"],"summary":"Delete competition person leaders configuration","description":"Remove competition person leaders configuration rows.","operationId":"cl_config_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Leaders_Configuration Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_Leaders_ConfigurationModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/organizationId"}]}}}}
```

## Build competition person leaders from configuration

> Trigger competition person leaders builds for configured organizations and competitions.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Hockey","version":"v1"},"tags":[{"name":"Competition Leaders","description":"Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons."}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:admin"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Competition_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this competition person statistics belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"Total number of assists","type":"integer","nullable":true,"format":"int32"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","nullable":true,"format":"float"},"badPasses":{"description":"Number of unsuccessful passes completed","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"Total number of blocks","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","nullable":true,"format":"float"},"challengesEarned":{"description":"Total number of challenges earned","type":"integer","nullable":true,"format":"int32"},"challengesEarnedPerGame":{"description":"Average number of challenges earned per game","type":"number","nullable":true,"format":"float"},"challengesScored":{"description":"Total number of goals scored from a challenge","type":"integer","nullable":true,"format":"int32"},"challengesScoredPerGame":{"description":"Average number of challenges scored per game","type":"number","nullable":true,"format":"float"},"circlePenetrations":{"description":"Total number of circle entries","type":"integer","nullable":true,"format":"int32"},"circlePenetrationsPerGame":{"description":"Average number of circle entries per game","type":"number","nullable":true,"format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissed":{"description":"Total number of field goal conversions missed","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsMissedPerGame":{"description":"Average number of field goal conversions missed per game","type":"number","nullable":true,"format":"float"},"fieldGoalConversionsScored":{"description":"Total number of goals scored from Field Goal Conversions","type":"integer","nullable":true,"format":"int32"},"fieldGoalConversionsScoredPerGame":{"description":"Average number of goals scored per game from Field Goal Conversions","type":"number","nullable":true,"format":"float"},"fieldGoalsScored":{"description":"Total number of Field Goals scored","type":"integer","nullable":true,"format":"int32"},"fieldGoalsScoredPerGame":{"description":"Average number of field goals scored per game","type":"number","nullable":true,"format":"float"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"gamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"goalsConceded":{"description":"Total number of goals conceded","type":"integer","nullable":true,"format":"int32"},"goalsConcededPerGame":{"description":"Average number of goals conceded per game","type":"number","nullable":true,"format":"float"},"goalsConcededShootOut":{"description":"Total number of goals conceded during shoot-outs","type":"integer","nullable":true,"format":"int32"},"goalsScored":{"description":"Total number of goals scored","type":"integer","nullable":true,"format":"int32"},"goalsScoredPerGame":{"description":"Average number of goals scored per game","type":"number","nullable":true,"format":"float"},"goalsShootOut":{"description":"Total number of goals scored from shoot out shots","type":"integer","nullable":true,"format":"int32"},"greenCards":{"description":"Total number of green cards","type":"integer","nullable":true,"format":"int32"},"greenCardsPerGame":{"description":"Average number of green cards per game","type":"number","nullable":true,"format":"float"},"interceptions":{"description":"Total number of interceptions","type":"integer","nullable":true,"format":"int32"},"interceptionsPerGame":{"description":"Average number of interceptions per game","type":"number","nullable":true,"format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the player was on the field. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minutesPerGame":{"description":"Average number of minutes per game","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"minus":{"description":"The number of goals conceded by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"numberOfDraws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"numberOfGamesStarted":{"description":"The number of matches that they were a starter","type":"integer","nullable":true,"format":"int32"},"numberOfLosses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"numberOfWins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"passAccuracy":{"description":"The percentage of successful passes","type":"number","nullable":true,"format":"float"},"passes":{"description":"Number of successful passes completed","type":"integer","nullable":true,"format":"int32"},"passesPerGame":{"description":"Average number of successful passes that the team completed per game","type":"number","nullable":true,"format":"float"},"penaltyCornersEarned":{"description":"Total number of penalty corners earned","type":"integer","nullable":true,"format":"int32"},"penaltyCornersEarnedPerGame":{"description":"Average number of penalty corners earned per game","type":"number","nullable":true,"format":"float"},"penaltyCornersScored":{"description":"Total number of goals scored from Penalty Corners","type":"integer","nullable":true,"format":"int32"},"penaltyCornersScoredPerGame":{"description":"Average number of goals scored per game from Penalty Corners","type":"number","nullable":true,"format":"float"},"penaltyStrokesEarned":{"description":"Total number of penalty strokes earned","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesEarnedPerGame":{"description":"Average number of penalty strokes earned per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesMissed":{"description":"Total number of penalty strokes missed","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesMissedPerGame":{"description":"Average number of penalty strokes missed per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesSaved":{"description":"Total number of penalty strokes saved","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesSavedPerGame":{"description":"Average number of penalty strokes saved per game","type":"number","nullable":true,"format":"float"},"penaltyStrokesScored":{"description":"Total number of goals scored from Penalty Strokes","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesScoredPerGame":{"description":"Average number of goals scored per game from Penalty Strokes","type":"number","nullable":true,"format":"float"},"penaltyStrokesShootoutEarned":{"description":"Total number of penalty strokes earned during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutMissed":{"description":"Total number of penalty strokes missed during shootouts","type":"integer","nullable":true,"format":"int32"},"penaltyStrokesShootoutScored":{"description":"Total number of penalty strokes scored during shootouts","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesAgainst":{"description":"Total number of penalty strokes attempts faced by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainst":{"description":"Total number of penalty stroke goals conceded by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesGoalsAgainstPerMatch":{"description":"Average number of penalty strokes conceded by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaved":{"description":"Total number of penalty strokes saved by the goalkeeper","type":"integer","nullable":true,"format":"int32"},"goalKeeperPenaltyStrokesSavedPerMatch":{"description":"Average number of penalty strokes saved by the goalkeeper per match","type":"number","nullable":true,"format":"float"},"goalKeeperPenaltyStrokesSaveAccuracy":{"description":"Rate of all penalty strokes saved by the goalkeeper","type":"number","format":"float"},"plus":{"description":"The number of goals scored by the team while this player is on the field","type":"integer","nullable":true,"format":"int32"},"plusMinus":{"description":"goals scored/conceded while this player is on the field","type":"integer","nullable":true,"format":"int32"},"redCards":{"description":"Total number of red cards missed","type":"integer","nullable":true,"format":"int32"},"redCardsPerGame":{"description":"Average number of red cards per game","type":"number","nullable":true,"format":"float"},"saves":{"description":"Total number of saves","type":"integer","nullable":true,"format":"int32"},"savesPerGame":{"description":"Average number of saves per game","type":"number","nullable":true,"format":"float"},"savesShootOut":{"description":"Total number of shoot out shots saved","type":"integer","nullable":true,"format":"int32"},"shotAccuracy":{"description":"The percentage of shots that are on target including goals","type":"number","nullable":true,"format":"float"},"shots":{"description":"Total number of shots","type":"integer","nullable":true,"format":"int32"},"shotsMissed":{"description":"Total number of shots missed","type":"integer","nullable":true,"format":"int32"},"shotsMissedShootOut":{"description":"Total number of shoot out shots missed","type":"integer","nullable":true,"format":"int32"},"shotsOnTarget":{"description":"Total number of shots on target","type":"integer","nullable":true,"format":"int32"},"shotsOnTargetPerGame":{"description":"Average number of shots on target per game","type":"number","nullable":true,"format":"float"},"shotsPerGame":{"description":"Average number of shots per game","type":"number","nullable":true,"format":"float"},"tackles":{"description":"Total number of tackles","type":"integer","nullable":true,"format":"int32"},"tacklesPerGame":{"description":"Average number of tackles per game","type":"number","nullable":true,"format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"},"yellowCards":{"description":"Total number of yellow cards","type":"integer","nullable":true,"format":"int32"},"yellowCardsPerGame":{"description":"Average number of yellow cards per game","type":"number","nullable":true,"format":"float"}}}},"title":"competition person statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/hockey/admin/statistics/leaders/in/competitions/config/build":{"post":{"tags":["Competition Leaders"],"summary":"Build competition person leaders from configuration","description":"Trigger competition person leaders builds for configured organizations and competitions.","operationId":"cl_config_build","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Statistics Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Competition_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"competitionPersonLeadersConfigurationId":{"description":"The unique identifier of the ~competition person leaders configuration~ row","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5},"competitionId":{"description":"The unique identifier of the competition (optional for org-wide config)","type":"string","format":"uuid","nullable":true},"runEvery":{"description":"Minutes between scheduled builds (0 to always allow)","type":"integer","format":"int32"}},"title":"competition person leaders configuration post body","required":["organizationId"]}}}}}}}}
```
