Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ value:
{
"format": "6-player double round-robin",
"tc": "120 min + 10 sec / move starting 41",
"fideTc": "standard",
"fideTC": "standard",
"location": "Stavanger, Norway",
"timeZone": "Europe/Oslo",
"players": "Carlsen, Gukesh, Caruana, Nakamura",
Expand Down
2 changes: 1 addition & 1 deletion doc/specs/schemas/BroadcastForm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ properties:
description: |
Time control.
Example: `"Classical" or "Rapid" or "Rapid & Blitz"`
info.fideTc:
info.fideTC:
$ref: "./FideTimeControl.yaml"
info.timeZone:
type: string
Expand Down
25 changes: 25 additions & 0 deletions doc/specs/schemas/BroadcastPlayerEntry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,34 @@ allOf:
ratingDiff:
type: integer
example: -5
deprecated: true
ratingDiffs:
description: |
Rating differences by FIDE time control.
allOf:
- $ref: "./StatByFideTC.yaml"
example:
rapid: -5
blitz: 10
ratingsMap:
description: |
Player's ratings at the time of the tournament.
allOf:
- $ref: "./StatByFideTC.yaml"
example:
rapid: 2500
blitz: 2450
performance:
type: integer
example: 2138
deprecated: true
performances:
description: |
Performance ratings by FIDE time control.
allOf:
- $ref: "./StatByFideTC.yaml"
example:
standard: 2138
tiebreaks:
type: array
maxItems: 5
Expand Down
11 changes: 3 additions & 8 deletions doc/specs/schemas/BroadcastPlayerEntryWithFideAndGames.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@ allOf:
type: integer
description: Year of birth
ratings:
type: object
properties:
standard:
type: integer
rapid:
type: integer
blitz:
type: integer
description: Player's current ratings from the latest FIDE rating list.
allOf:
- $ref: "./StatByFideTC.yaml"
games:
type: array
description: List of games played by the player in the broadcast tournament
Expand Down
5 changes: 2 additions & 3 deletions doc/specs/schemas/BroadcastTour.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ properties:
tc:
type: string
description: "Time control"
fideTc:
type: string
enum: [standard, rapid, blitz]
fideTC:
description: "FIDE rating category"
$ref: "./FideTimeControl.yaml"
timeZone:
type: string
description: |
Expand Down
8 changes: 8 additions & 0 deletions doc/specs/schemas/StatByFideTC.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type: object
properties:
standard:
type: integer
rapid:
type: integer
blitz:
type: integer