-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
type: string | ||
|
||
description: See [available flair list and images](https://github.com/lichess-org/lila/tree/master/public/flair) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ properties: | |
color: | ||
type: string | ||
flair: | ||
type: string | ||
$ref: './Flair.yaml' | ||
id: | ||
type: string | ||
name: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,55 @@ | ||
type: object | ||
|
||
properties: | ||
id: | ||
type: string | ||
example: coders | ||
name: | ||
type: string | ||
example: Coders | ||
description: | ||
type: string | ||
example: "There are 10 kinds of people in the world: those who understand binary, and the others.\r\n\r\nIf you want to join the team, prove (briefly) that you can code in the request message!" | ||
open: | ||
type: boolean | ||
example: false | ||
leader: | ||
$ref: './LightUser.yaml' | ||
flair: | ||
$ref: './Flair.yaml' | ||
leaders: | ||
type: array | ||
items: | ||
$ref: './LightUser.yaml' | ||
nbMembers: | ||
type: integer | ||
example: 3129 | ||
open: | ||
type: boolean | ||
joined: | ||
type: boolean | ||
requested: | ||
type: boolean | ||
|
||
required: | ||
- id | ||
- name | ||
|
||
example: | ||
{ | ||
"id": "lichess-swiss", | ||
"name": "Lichess Swiss", | ||
"description": "The official Lichess Swiss team. We organize regular swiss tournaments for all to join.", | ||
"flair": "food-drink.cheese-wedge", | ||
"leader": { | ||
"flair": "activity.lichess", | ||
"id": "lichess", | ||
"name": "Lichess", | ||
"patron": true | ||
}, | ||
"leaders": [ | ||
{ | ||
"flair": "activity.lichess", | ||
"id": "lichess", | ||
"name": "Lichess", | ||
"patron": true | ||
} | ||
], | ||
"nbMembers": 487629, | ||
"open": true, | ||
"joined": false, | ||
"requested": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters