Skip to content

Commit

Permalink
Merge pull request #386 from fitztrev/broadcast-tour-schema-with-time…
Browse files Browse the repository at this point in the history
…zones

Update broadcast tour schema + add timezone
  • Loading branch information
ornicar authored Oct 6, 2024
2 parents 7b5b605 + 4e8c94b commit c5313f9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
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

0 comments on commit c5313f9

Please sign in to comment.