{"action":"created","comment":{"url":"https://api.github.com/repos/alsemyonov/vk/pulls/comments/80671161","pull_request_review_id":1712182,"id":80671161,"diff_hunk":"@@ -0,0 +1,178 @@\n+# frozen_string_literal: true\n+require 'vk/schema/model'\n+\n+module Vk\n+  class Schema\n+    class Model < Dry::Struct\n+      module Groups\n+        # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json\n+        class UserXtrBanInfo < Vk::Schema::Model\n+          # @return [Integer] User ID\n+          attribute :id, Schema::Types::Coercible::Int\n+          # @return [String] User first name\n+          attribute :first_name, Schema::Types::Coercible::String\n+          # @return [String] User last name\n+          attribute :last_name, Schema::Types::Coercible::String\n+          # @return [String] Returns if a profile is deleted or blocked\n+          attribute :deactivated, Schema::Types::Coercible::String.optional\n+          # @return [Integer] Returns if a profile is hidden.\n+          attribute :hidden, Schema::Types::Coercible::Int.optional\n+          # @return [Integer] User sex\n+          attribute :sex, Schema::Types::Coercible::Int.optional\n+          # @return [String] Domain name of the user's page\n+          attribute :screen_name, Schema::Types::Coercible::String.optional\n+          # @return [String] URL of square photo of the user with 50 pixels in width\n+          attribute :photo_50, Schema::Types::Coercible::String.optional\n+          # @return [String] URL of square photo of the user with 100 pixels in width\n+          attribute :photo_100, Schema::Types::Coercible::String.optional\n+          # @return [Integer] Information whether the user is online\n+          attribute :online, Schema::Types::Coercible::Int.optional\n+          # @return [String] User nickname\n+          attribute :nickname, Schema::Types::Coercible::String.optional\n+          # @return [String] User maiden name\n+          attribute :maiden_name, Schema::Types::Coercible::String.optional\n+          # @return [String] Domain name of the user's page\n+          attribute :domain, Schema::Types::Coercible::String.optional\n+          # @return [String] User's date of birth\n+          attribute :bdate, Schema::Types::Coercible::String.optional\n+          # @return [Object] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json\n+          attribute :city, Schema::Types::Coercible::Hash.optional\n+          # @return [Object] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json\n+          attribute :country, Schema::Types::Coercible::Hash.optional\n+          # @return [Integer] User's timezone\n+          attribute :timezone, Schema::Types::Coercible::Int.optional\n+          # @return [String] URL of square photo of the user with 200 pixels in width\n+          attribute :photo_200, Schema::Types::Coercible::String.optional\n+          # @return [String] URL of square photo of the user with maximum width\n+          attribute :photo_max, Schema::Types::Coercible::String.optional\n+          # @return [String] URL of user's photo with 200 pixels in width\n+          attribute :photo_200_orig, Schema::Types::Coercible::String.optional\n+          # @return [String] URL of user's photo with 400 pixels in width\n+          attribute :photo_400_orig, Schema::Types::Coercible::String.optional\n+          # @return [String] URL of user's photo of maximum size\n+          attribute :photo_max_orig, Schema::Types::Coercible::String.optional\n+          # @return [String] ID of the user's main photo\n+          attribute :photo_id, Schema::Types::Coercible::String.optional\n+          # @return [Integer] Information whether the user has main photo\n+          attribute :has_photo, Schema::Types::Coercible::Int.optional\n+          # @return [Integer] Information whether the user specified his phone number","path":"lib/vk/schema/model/groups/user_xtr_ban_info.rb","position":58,"original_position":58,"commit_id":"beba65c85cc31e52a9cd58d4b2e0d3613b588f8a","original_commit_id":"beba65c85cc31e52a9cd58d4b2e0d3613b588f8a","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [85/80]","created_at":"2016-09-27T11:29:21Z","updated_at":"2016-09-27T11:29:21Z","html_url":"https://github.com/alsemyonov/vk/pull/2#discussion_r80671161","pull_request_url":"https://api.github.com/repos/alsemyonov/vk/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/alsemyonov/vk/pulls/comments/80671161"},"html":{"href":"https://github.com/alsemyonov/vk/pull/2#discussion_r80671161"},"pull_request":{"href":"https://api.github.com/repos/alsemyonov/vk/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/alsemyonov/vk/pulls/2","id":86872742,"html_url":"https://github.com/alsemyonov/vk/pull/2","diff_url":"https://github.com/alsemyonov/vk/pull/2.diff","patch_url":"https://github.com/alsemyonov/vk/pull/2.patch","issue_url":"https://api.github.com/repos/alsemyonov/vk/issues/2","number":2,"state":"open","locked":false,"title":"Implement Vk API Client using JSON Schema","user":{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-27T07:05:37Z","updated_at":"2016-09-27T11:29:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a584d0404b1edceee392a93b27440c5337d92738","assignee":{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"assignees":[{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/alsemyonov/vk/milestones/1","html_url":"https://github.com/alsemyonov/vk/milestones/1.0.0","labels_url":"https://api.github.com/repos/alsemyonov/vk/milestones/1/labels","id":2030984,"number":1,"title":"1.0.0","description":null,"creator":{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-09-27T08:00:15Z","updated_at":"2016-09-27T08:00:15Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/alsemyonov/vk/pulls/2/commits","review_comments_url":"https://api.github.com/repos/alsemyonov/vk/pulls/2/comments","review_comment_url":"https://api.github.com/repos/alsemyonov/vk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alsemyonov/vk/issues/2/comments","statuses_url":"https://api.github.com/repos/alsemyonov/vk/statuses/beba65c85cc31e52a9cd58d4b2e0d3613b588f8a","head":{"label":"alsemyonov:json-schema","ref":"json-schema","sha":"beba65c85cc31e52a9cd58d4b2e0d3613b588f8a","user":{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"repo":{"id":1692985,"name":"vk","full_name":"alsemyonov/vk","owner":{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alsemyonov/vk","description":"API wrapper for vk.com","fork":false,"url":"https://api.github.com/repos/alsemyonov/vk","forks_url":"https://api.github.com/repos/alsemyonov/vk/forks","keys_url":"https://api.github.com/repos/alsemyonov/vk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alsemyonov/vk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alsemyonov/vk/teams","hooks_url":"https://api.github.com/repos/alsemyonov/vk/hooks","issue_events_url":"https://api.github.com/repos/alsemyonov/vk/issues/events{/number}","events_url":"https://api.github.com/repos/alsemyonov/vk/events","assignees_url":"https://api.github.com/repos/alsemyonov/vk/assignees{/user}","branches_url":"https://api.github.com/repos/alsemyonov/vk/branches{/branch}","tags_url":"https://api.github.com/repos/alsemyonov/vk/tags","blobs_url":"https://api.github.com/repos/alsemyonov/vk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alsemyonov/vk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alsemyonov/vk/git/refs{/sha}","trees_url":"https://api.github.com/repos/alsemyonov/vk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alsemyonov/vk/statuses/{sha}","languages_url":"https://api.github.com/repos/alsemyonov/vk/languages","stargazers_url":"https://api.github.com/repos/alsemyonov/vk/stargazers","contributors_url":"https://api.github.com/repos/alsemyonov/vk/contributors","subscribers_url":"https://api.github.com/repos/alsemyonov/vk/subscribers","subscription_url":"https://api.github.com/repos/alsemyonov/vk/subscription","commits_url":"https://api.github.com/repos/alsemyonov/vk/commits{/sha}","git_commits_url":"https://api.github.com/repos/alsemyonov/vk/git/commits{/sha}","comments_url":"https://api.github.com/repos/alsemyonov/vk/comments{/number}","issue_comment_url":"https://api.github.com/repos/alsemyonov/vk/issues/comments{/number}","contents_url":"https://api.github.com/repos/alsemyonov/vk/contents/{+path}","compare_url":"https://api.github.com/repos/alsemyonov/vk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alsemyonov/vk/merges","archive_url":"https://api.github.com/repos/alsemyonov/vk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alsemyonov/vk/downloads","issues_url":"https://api.github.com/repos/alsemyonov/vk/issues{/number}","pulls_url":"https://api.github.com/repos/alsemyonov/vk/pulls{/number}","milestones_url":"https://api.github.com/repos/alsemyonov/vk/milestones{/number}","notifications_url":"https://api.github.com/repos/alsemyonov/vk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alsemyonov/vk/labels{/name}","releases_url":"https://api.github.com/repos/alsemyonov/vk/releases{/id}","deployments_url":"https://api.github.com/repos/alsemyonov/vk/deployments","created_at":"2011-05-02T20:02:48Z","updated_at":"2016-09-01T13:47:05Z","pushed_at":"2016-09-27T11:27:30Z","git_url":"git://github.com/alsemyonov/vk.git","ssh_url":"git@github.com:alsemyonov/vk.git","clone_url":"https://github.com/alsemyonov/vk.git","svn_url":"https://github.com/alsemyonov/vk","homepage":"http://alsemyonov.github.com/vk/","size":233,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":7,"default_branch":"master"}},"base":{"label":"alsemyonov:master","ref":"master","sha":"d2a16bc5e66c38fcbafe98a5229981fe02b3934c","user":{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"repo":{"id":1692985,"name":"vk","full_name":"alsemyonov/vk","owner":{"login":"alsemyonov","id":4524,"avatar_url":"https://avatars.githubusercontent.com/u/4524?v=3","gravatar_id":"","url":"https://api.github.com/users/alsemyonov","html_url":"https://github.com/alsemyonov","followers_url":"https://api.github.com/users/alsemyonov/followers","following_url":"https://api.github.com/users/alsemyonov/following{/other_user}","gists_url":"https://api.github.com/users/alsemyonov/gists{/gist_id}","starred_url":"https://api.github.com/users/alsemyonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsemyonov/subscriptions","organizations_url":"https://api.github.com/users/alsemyonov/orgs","repos_url":"https://api.github.com/users/alsemyonov/repos","events_url":"https://api.github.com/users/alsemyonov/events{/privacy}","received_events_url":"https://api.github.com/users/alsemyonov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alsemyonov/vk","description":"API wrapper for vk.com","fork":false,"url":"https://api.github.com/repos/alsemyonov/vk","forks_url":"https://api.github.com/repos/alsemyonov/vk/forks","keys_url":"https://api.github.com/repos/alsemyonov/vk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alsemyonov/vk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alsemyonov/vk/teams","hooks_url":"https://api.github.com/repos/alsemyonov/vk/hooks","issue_events_url":"https://api.github.com/repos/alsemyonov/vk/issues/events{/number}","events_url":"https://api.github.com/repos/alsemyonov/vk/events","assignees_url":"https://api.github.com/repos/alsemyonov/vk/assignees{/user}","branches_url":"https://api.github.com/repos/alsemyonov/vk/branches{/branch}","tags_url":"https://api.github.com/repos/alsemyonov/vk/tags","blobs_url":"https://api.github.com/repos/alsemyonov/vk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alsemyonov/vk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alsemyonov/vk/git/refs{/sha}","trees_url":"https://api.github.com/repos/alsemyonov/vk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alsemyonov/vk/statuses/{sha}","languages_url":"https://api.github.com/repos/alsemyonov/vk/languages","stargazers_url":"https://api.github.com/repos/alsemyonov/vk/stargazers","contributors_url":"https://api.github.com/repos/alsemyonov/vk/contributors","subscribers_url":"https://api.github.com/repos/alsemyonov/vk/subscribers","subscription_url":"https://api.github.com/repos/alsemyonov/vk/subscription","commits_url":"https://api.github.com/repos/alsemyonov/vk/commits{/sha}","git_commits_url":"https://api.github.com/repos/alsemyonov/vk/git/commits{/sha}","comments_url":"https://api.github.com/repos/alsemyonov/vk/comments{/number}","issue_comment_url":"https://api.github.com/repos/alsemyonov/vk/issues/comments{/number}","contents_url":"https://api.github.com/repos/alsemyonov/vk/contents/{+path}","compare_url":"https://api.github.com/repos/alsemyonov/vk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alsemyonov/vk/merges","archive_url":"https://api.github.com/repos/alsemyonov/vk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alsemyonov/vk/downloads","issues_url":"https://api.github.com/repos/alsemyonov/vk/issues{/number}","pulls_url":"https://api.github.com/repos/alsemyonov/vk/pulls{/number}","milestones_url":"https://api.github.com/repos/alsemyonov/vk/milestones{/number}","notifications_url":"https://api.github.com/repos/alsemyonov/vk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alsemyonov/vk/labels{/name}","releases_url":"https://api.github.com/repos/alsemyonov/vk/releases{/id}","deployments_url":"https://api.github.com/repos/alsemyonov/vk/deployments","created_at":"2011-05-02T20:02:48Z","updated_at":"2016-09-01T13:47:05Z","pushed_at":"2016-09-27T11:27:30Z","git_url":"git://github.com/alsemyonov/vk.git","ssh_url":"git@github.com:alsemyonov/vk.git","clone_url":"https://github.com/alsemyonov/vk.git","svn_url":"https://github.com/alsemyonov/vk","homepage":"http://alsemyonov.github.com/vk/","size":233,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alsemyonov/vk/pulls/2"},"html":{"href":"https://github.com/alsemyonov/vk/pull/2"},"issue":{"href":"https://api.github.com/repos/alsemyonov/vk/issues/2"},"comments":{"href":"https://api.github.com/repos/alsemyonov/vk/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/alsemyonov/vk/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/alsemyonov/vk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alsemyonov/vk/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/alsemyonov/vk/statuses/beba65c85cc31e52a9cd58d4b2e0d3613b588f8a"}}}}
{"actor":{"display_login":"houndci-bot"}}