summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/member_user.json
blob: d42c686bb6569247ed3618575d12aac906a04861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "type": "object",
  "required": ["id", "name", "username", "avatar_url", "web_url", "blocked", "two_factor_enabled", "show_status"],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "username": { "type": "string" },
    "avatar_url": { "type": ["string", "null"] },
    "web_url": { "type": "string" },
    "blocked": { "type": "boolean" },
    "two_factor_enabled": { "type": "boolean" },
    "availability": { "type": ["string", "null"] },
    "status": {
      "type": "object",
      "required": ["emoji"],
      "properties": {
        "emoji": { "type": "string" }
      },
      "additionalProperties": false
    },
    "show_status": { "type": "boolean" }
  }
}