summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/member_user.json
blob: 983cdb7b9d92aff97df0f287b3f9ec6b3d962d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "type": "object",
  "required": ["id", "name", "username", "avatar_url", "web_url", "blocked", "two_factor_enabled"],
  "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" },
    "status": {
      "type": "object",
      "required": ["emoji"],
      "properties": {
        "emoji": { "type": "string" }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}