Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update broadcast tour schema + add timezone #386

Merged
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
9 changes: 8 additions & 1 deletion doc/specs/schemas/BroadcastForm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,24 @@ properties:
enum: [standard, rapid, blitz]
description: |
FIDE rating category. Which FIDE ratings to use
info.timeZone:
type: string
description: |
Timezone of the tournament. Example: `America/New_York`.
See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
info.players:
type: string
maxLength: 120
description: |
Mention up to 4 of the best players participating.
info.website:
type: string
format: uri
description: |
Official Website. External website URL
Official website. External website URL
info.standings:
type: string
format: uri
description: |
Official Standings. External website URL, e.g. chess-results.com, info64.org
markdown:
Expand Down
24 changes: 22 additions & 2 deletions doc/specs/schemas/BroadcastTour.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,35 @@ properties:
type: object
description: "Additional display information about the tournament"
properties:
format:
website:
type: string
description: "Tournament format"
format: uri
description: "Official website. External website URL"
players:
type: string
description: "Featured players"
location:
type: string
description: "Tournament location"
tc:
type: string
description: "Time control"
fideTc:
type: string
enum: [standard, rapid, blitz]
description: "FIDE rating category"
timeZone:
type: string
description: |
Timezone of the tournament. Example: `America/New_York`.
See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
standings:
type: string
format: uri
description: "Official standings website. External website URL"
format:
type: string
description: "Tournament format"
tier:
type: number
description: "Used to designate featured tournaments on Lichess"
Expand Down