summary refs log tree commit diff
path: root/api/assets/responses.json
blob: 35645d7380e25b71a3a009547a3a83da46c91230 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
    "UserProfileResponse": {
        "type": "object",
        "properties": {
            "user": {
                "$ref": "#/definitions/UserPublic"
            },
            "connected_accounts": {
                "$ref": "#/definitions/PublicConnectedAccount"
            },
            "premium_guild_since": {
                "type": "string",
                "format": "date-time"
            },
            "premium_since": {
                "type": "string",
                "format": "date-time"
            }
        },
        "additionalProperties": false,
        "required": [
            "connected_accounts",
            "user"
        ],
        "definitions": {
            "UserPublic": {
                "type": "object",
                "properties": {
                    "username": {
                        "type": "string"
                    },
                    "discriminator": {
                        "type": "string"
                    },
                    "id": {
                        "type": "string"
                    },
                    "public_flags": {
                        "type": "string"
                    },
                    "avatar": {
                        "type": "string"
                    },
                    "accent_color": {
                        "type": "integer"
                    },
                    "banner": {
                        "type": "string"
                    },
                    "bio": {
                        "type": "string"
                    },
                    "bot": {
                        "type": "boolean"
                    }
                },
                "additionalProperties": false,
                "required": [
                    "bio",
                    "bot",
                    "discriminator",
                    "id",
                    "public_flags",
                    "username"
                ]
            },
            "PublicConnectedAccount": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "verifie": {
                        "type": "boolean"
                    }
                },
                "additionalProperties": false,
                "required": [
                    "name",
                    "type",
                    "verifie"
                ]
            }
        },
        "$schema": "http://json-schema.org/draft-07/schema#"
    }
}