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
|
{
"type": "object",
"required": [
"id",
"created_at",
"expires_at",
"access_level",
"requested_at",
"source",
"valid_roles",
"type",
"can_update",
"can_remove",
"is_direct_member"
],
"properties": {
"id": { "type": "integer" },
"created_at": { "type": "date-time" },
"expires_at": { "type": ["date-time", "null"] },
"requested_at": { "type": ["date-time", "null"] },
"can_update": { "type": "boolean" },
"can_remove": { "type": "boolean" },
"is_direct_member": { "type": "boolean" },
"access_level": {
"type": "object",
"required": ["integer_value", "string_value"],
"properties": {
"integer_value": { "type": "integer" },
"string_value": { "type": "string" }
},
"additionalProperties": false
},
"source": {
"type": "object",
"required": ["id", "full_name", "web_url"],
"properties": {
"id": { "type": "integer" },
"full_name": { "type": "string" },
"web_url": { "type": "string" }
},
"additionalProperties": false
},
"valid_roles": { "type": "object" },
"type": { "type": "string" },
"created_by": {
"type": "object",
"required": ["name", "web_url"],
"properties": {
"name": { "type": "string" },
"web_url": { "type": "string" }
},
"additionalProperties": false
},
"user": {
"allOf": [
{ "$ref": "member_user.json" }
]
},
"state": { "type": "integer" },
"invite": {
"type": "object",
"required": ["email", "avatar_url", "can_resend", "user_state"],
"properties": {
"email": { "type": "string" },
"avatar_url": { "type": "string" },
"can_resend": { "type": "boolean" },
"user_state": { "type": "string" }
},
"additionalProperties": false
}
}
}
|