summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/member_user.json
blob: 0750e81e11563c1c266a1c695da37d0627585f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  "type": "object",
  "required": [
    "id",
    "name",
    "username",
    "created_at",
    "last_activity_on",
    "avatar_url",
    "web_url",
    "blocked",
    "two_factor_enabled",
    "show_status"
  ],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "username": { "type": "string" },
    "created_at": { "type": ["string"] },
    "avatar_url": { "type": ["string", "null"] },
    "web_url": { "type": "string" },
    "blocked": { "type": "boolean" },
    "two_factor_enabled": { "type": "boolean" },
    "availability": { "type": ["string", "null"] },
    "last_activity_on": { "type": ["string", "null"] },
    "status": {
      "type": "object",
      "required": ["emoji"],
      "properties": {
        "emoji": { "type": "string" }
      },
      "additionalProperties": false
    },
    "show_status": { "type": "boolean" }
  }
}