diff options
Diffstat (limited to 'spec/fixtures/api/schemas/entities/member_user_for_admin_member.json')
-rw-r--r-- | spec/fixtures/api/schemas/entities/member_user_for_admin_member.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/entities/member_user_for_admin_member.json b/spec/fixtures/api/schemas/entities/member_user_for_admin_member.json new file mode 100644 index 00000000000..0750e81e115 --- /dev/null +++ b/spec/fixtures/api/schemas/entities/member_user_for_admin_member.json @@ -0,0 +1,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" } + } +} |