2020-11-24 15:15:51 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"created_at",
|
|
|
|
"expires_at",
|
|
|
|
"access_level",
|
|
|
|
"requested_at",
|
|
|
|
"source",
|
2021-01-03 14:25:43 +05:30
|
|
|
"valid_roles",
|
2021-04-29 21:17:54 +05:30
|
|
|
"type",
|
2020-11-24 15:15:51 +05:30
|
|
|
"can_update",
|
2021-03-11 19:13:27 +05:30
|
|
|
"can_remove",
|
|
|
|
"is_direct_member"
|
2020-11-24 15:15:51 +05:30
|
|
|
],
|
|
|
|
"properties": {
|
2023-03-04 22:38:38 +05:30
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"expires_at": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"requested_at": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"can_update": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"can_remove": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"is_direct_member": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2020-11-24 15:15:51 +05:30
|
|
|
"access_level": {
|
|
|
|
"type": "object",
|
2023-03-04 22:38:38 +05:30
|
|
|
"required": [
|
|
|
|
"integer_value",
|
|
|
|
"string_value"
|
|
|
|
],
|
2020-11-24 15:15:51 +05:30
|
|
|
"properties": {
|
2023-03-04 22:38:38 +05:30
|
|
|
"integer_value": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"string_value": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2021-03-08 18:12:59 +05:30
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2020-11-24 15:15:51 +05:30
|
|
|
},
|
|
|
|
"source": {
|
|
|
|
"type": "object",
|
2023-03-04 22:38:38 +05:30
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"full_name",
|
|
|
|
"web_url"
|
|
|
|
],
|
2020-11-24 15:15:51 +05:30
|
|
|
"properties": {
|
2023-03-04 22:38:38 +05:30
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"full_name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"web_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2021-03-08 18:12:59 +05:30
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2020-11-24 15:15:51 +05:30
|
|
|
},
|
2023-03-04 22:38:38 +05:30
|
|
|
"valid_roles": {
|
|
|
|
"type": "object"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-11-24 15:15:51 +05:30
|
|
|
"created_by": {
|
|
|
|
"type": "object",
|
2023-03-04 22:38:38 +05:30
|
|
|
"required": [
|
|
|
|
"name",
|
|
|
|
"web_url"
|
|
|
|
],
|
2020-11-24 15:15:51 +05:30
|
|
|
"properties": {
|
2023-03-04 22:38:38 +05:30
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"web_url": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2021-03-08 18:12:59 +05:30
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2020-11-24 15:15:51 +05:30
|
|
|
},
|
|
|
|
"user": {
|
2021-03-08 18:12:59 +05:30
|
|
|
"allOf": [
|
2023-03-04 22:38:38 +05:30
|
|
|
{
|
|
|
|
"$ref": "member_user_default.json"
|
|
|
|
}
|
2021-03-08 18:12:59 +05:30
|
|
|
]
|
2020-11-24 15:15:51 +05:30
|
|
|
},
|
2023-03-04 22:38:38 +05:30
|
|
|
"state": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2020-11-24 15:15:51 +05:30
|
|
|
"invite": {
|
|
|
|
"type": "object",
|
2023-03-04 22:38:38 +05:30
|
|
|
"required": [
|
|
|
|
"email",
|
|
|
|
"avatar_url",
|
|
|
|
"can_resend",
|
|
|
|
"user_state"
|
|
|
|
],
|
2020-11-24 15:15:51 +05:30
|
|
|
"properties": {
|
2023-03-04 22:38:38 +05:30
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"avatar_url": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"can_resend": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"user_state": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2021-03-08 18:12:59 +05:30
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2020-11-24 15:15:51 +05:30
|
|
|
}
|
|
|
|
}
|
2023-03-04 22:38:38 +05:30
|
|
|
}
|