diff options
| -rw-r--r-- | F1.md | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -12,23 +12,26 @@ It's completely optional and clients may choose to fulfill only some of these ta | |||
| 12 | 12 | ||
| 13 | ## Tags | 13 | ## Tags |
| 14 | 14 | ||
| 15 | | Tag | Type | Description | | 15 | | Name | Value type | Description | |
| 16 | | --- | ---- | ----------- | | 16 | | --- | ---- | ----------- | |
| 17 | | `background-color` | hex value | To be used by clients when displaying the user profile page | | 17 | | `background-color` | hex value | To be used by clients when displaying the user profile page | |
| 18 | | `foreground-color` | hex value | Idem | | 18 | | `foreground-color` | hex value | Idem | |
| 19 | | `background-music` | URL | Music that optionally plays when the profile is opened | | 19 | | `background-music` | URL | Music that optionally plays when the profile is opened | |
| 20 | | `priority_kinds` | stringified kind number (variadic) | Kinds to be displayed by default in the user profile page (rather than `kind:1` always) | | 20 | | `priority_kinds` | stringified kind number (variadic) | Kinds to be displayed by default in the user profile page (rather than `kind:1` always) | |
| 21 | | `custom` | string name, then value | An arbitrary field to be displayed along with the profile | | ||
| 21 | 22 | ||
| 22 | ## Example | 23 | ## Example |
| 23 | 24 | ||
| 24 | ```json | 25 | ```yaml |
| 25 | { | 26 | { |
| 26 | "kind": 19999, | 27 | "kind": 19999, |
| 27 | "tags": [ | 28 | "tags": [ |
| 28 | ["background-color", "#1a1a2e"], | 29 | ["background-color", "#1a1a2e"], |
| 29 | ["foreground-color", "#eee444"], | 30 | ["foreground-color", "#eee444"], |
| 30 | ["background-music", "https://example.com/music/profile-theme.mp3"], | 31 | ["background-music", "https://example.com/music/profile-theme.mp3"], |
| 31 | ["priority_kinds", "20", "30023", "21", "10009"] | 32 | ["priority_kinds", "20", "30023", "21", "10009"], |
| 33 | ["custom", "favorite fruit", "banana"], | ||
| 34 | ["custom", "pets?", "no"] | ||
| 32 | ], | 35 | ], |
| 33 | // ...other fields | 36 | // ...other fields |
| 34 | } | 37 | } |