{"action":"opened","number":318,"pull_request":{"url":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/318","id":214266563,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MjY2NTYz","html_url":"https://github.com/maasglobal/maas-schemas/pull/318","diff_url":"https://github.com/maasglobal/maas-schemas/pull/318.diff","patch_url":"https://github.com/maasglobal/maas-schemas/pull/318.patch","issue_url":"https://api.github.com/repos/maasglobal/maas-schemas/issues/318","number":318,"state":"open","locked":false,"title":"v2 bookings create request and response schema","user":{"login":"alapto","id":1637542,"node_id":"MDQ6VXNlcjE2Mzc1NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1637542?v=4","gravatar_id":"","url":"https://api.github.com/users/alapto","html_url":"https://github.com/alapto","followers_url":"https://api.github.com/users/alapto/followers","following_url":"https://api.github.com/users/alapto/following{/other_user}","gists_url":"https://api.github.com/users/alapto/gists{/gist_id}","starred_url":"https://api.github.com/users/alapto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alapto/subscriptions","organizations_url":"https://api.github.com/users/alapto/orgs","repos_url":"https://api.github.com/users/alapto/repos","events_url":"https://api.github.com/users/alapto/events{/privacy}","received_events_url":"https://api.github.com/users/alapto/received_events","type":"User","site_admin":false},"body":"Request and response schema for bookings create v2.\r\nMajor difference to v1 is mandatory paymentSourceId.","created_at":"2018-09-10T10:26:13Z","updated_at":"2018-09-10T10:26:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":411938819,"node_id":"MDU6TGFiZWw0MTE5Mzg4MTk=","url":"https://api.github.com/repos/maasglobal/maas-schemas/labels/PR:%20Waiting%20for%20Review","name":"PR: Waiting for Review","color":"bfd4f2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/318/commits","review_comments_url":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/318/comments","review_comment_url":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maasglobal/maas-schemas/issues/318/comments","statuses_url":"https://api.github.com/repos/maasglobal/maas-schemas/statuses/485b7d9e847d2869351b55efde1a8414c34594f2","head":{"label":"alapto:bookings-v2","ref":"bookings-v2","sha":"485b7d9e847d2869351b55efde1a8414c34594f2","user":{"login":"alapto","id":1637542,"node_id":"MDQ6VXNlcjE2Mzc1NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1637542?v=4","gravatar_id":"","url":"https://api.github.com/users/alapto","html_url":"https://github.com/alapto","followers_url":"https://api.github.com/users/alapto/followers","following_url":"https://api.github.com/users/alapto/following{/other_user}","gists_url":"https://api.github.com/users/alapto/gists{/gist_id}","starred_url":"https://api.github.com/users/alapto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alapto/subscriptions","organizations_url":"https://api.github.com/users/alapto/orgs","repos_url":"https://api.github.com/users/alapto/repos","events_url":"https://api.github.com/users/alapto/events{/privacy}","received_events_url":"https://api.github.com/users/alapto/received_events","type":"User","site_admin":false},"repo":{"id":126023307,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYwMjMzMDc=","name":"maas-schemas","full_name":"alapto/maas-schemas","owner":{"login":"alapto","id":1637542,"node_id":"MDQ6VXNlcjE2Mzc1NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1637542?v=4","gravatar_id":"","url":"https://api.github.com/users/alapto","html_url":"https://github.com/alapto","followers_url":"https://api.github.com/users/alapto/followers","following_url":"https://api.github.com/users/alapto/following{/other_user}","gists_url":"https://api.github.com/users/alapto/gists{/gist_id}","starred_url":"https://api.github.com/users/alapto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alapto/subscriptions","organizations_url":"https://api.github.com/users/alapto/orgs","repos_url":"https://api.github.com/users/alapto/repos","events_url":"https://api.github.com/users/alapto/events{/privacy}","received_events_url":"https://api.github.com/users/alapto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alapto/maas-schemas","description":"Mobility as a Service API - data model, tests, and validation","fork":true,"url":"https://api.github.com/repos/alapto/maas-schemas","forks_url":"https://api.github.com/repos/alapto/maas-schemas/forks","keys_url":"https://api.github.com/repos/alapto/maas-schemas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alapto/maas-schemas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alapto/maas-schemas/teams","hooks_url":"https://api.github.com/repos/alapto/maas-schemas/hooks","issue_events_url":"https://api.github.com/repos/alapto/maas-schemas/issues/events{/number}","events_url":"https://api.github.com/repos/alapto/maas-schemas/events","assignees_url":"https://api.github.com/repos/alapto/maas-schemas/assignees{/user}","branches_url":"https://api.github.com/repos/alapto/maas-schemas/branches{/branch}","tags_url":"https://api.github.com/repos/alapto/maas-schemas/tags","blobs_url":"https://api.github.com/repos/alapto/maas-schemas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alapto/maas-schemas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alapto/maas-schemas/git/refs{/sha}","trees_url":"https://api.github.com/repos/alapto/maas-schemas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alapto/maas-schemas/statuses/{sha}","languages_url":"https://api.github.com/repos/alapto/maas-schemas/languages","stargazers_url":"https://api.github.com/repos/alapto/maas-schemas/stargazers","contributors_url":"https://api.github.com/repos/alapto/maas-schemas/contributors","subscribers_url":"https://api.github.com/repos/alapto/maas-schemas/subscribers","subscription_url":"https://api.github.com/repos/alapto/maas-schemas/subscription","commits_url":"https://api.github.com/repos/alapto/maas-schemas/commits{/sha}","git_commits_url":"https://api.github.com/repos/alapto/maas-schemas/git/commits{/sha}","comments_url":"https://api.github.com/repos/alapto/maas-schemas/comments{/number}","issue_comment_url":"https://api.github.com/repos/alapto/maas-schemas/issues/comments{/number}","contents_url":"https://api.github.com/repos/alapto/maas-schemas/contents/{+path}","compare_url":"https://api.github.com/repos/alapto/maas-schemas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alapto/maas-schemas/merges","archive_url":"https://api.github.com/repos/alapto/maas-schemas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alapto/maas-schemas/downloads","issues_url":"https://api.github.com/repos/alapto/maas-schemas/issues{/number}","pulls_url":"https://api.github.com/repos/alapto/maas-schemas/pulls{/number}","milestones_url":"https://api.github.com/repos/alapto/maas-schemas/milestones{/number}","notifications_url":"https://api.github.com/repos/alapto/maas-schemas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alapto/maas-schemas/labels{/name}","releases_url":"https://api.github.com/repos/alapto/maas-schemas/releases{/id}","deployments_url":"https://api.github.com/repos/alapto/maas-schemas/deployments","created_at":"2018-03-20T13:39:38Z","updated_at":"2018-09-06T11:10:28Z","pushed_at":"2018-09-10T10:25:54Z","git_url":"git://github.com/alapto/maas-schemas.git","ssh_url":"git@github.com:alapto/maas-schemas.git","clone_url":"https://github.com/alapto/maas-schemas.git","svn_url":"https://github.com/alapto/maas-schemas","homepage":"http://www.maas-api.org/","size":7068,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"maasglobal:develop","ref":"develop","sha":"6c0517666979121fda6c7e68056b2aeba032aea7","user":{"login":"maasglobal","id":17618385,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjE4Mzg1","avatar_url":"https://avatars1.githubusercontent.com/u/17618385?v=4","gravatar_id":"","url":"https://api.github.com/users/maasglobal","html_url":"https://github.com/maasglobal","followers_url":"https://api.github.com/users/maasglobal/followers","following_url":"https://api.github.com/users/maasglobal/following{/other_user}","gists_url":"https://api.github.com/users/maasglobal/gists{/gist_id}","starred_url":"https://api.github.com/users/maasglobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maasglobal/subscriptions","organizations_url":"https://api.github.com/users/maasglobal/orgs","repos_url":"https://api.github.com/users/maasglobal/repos","events_url":"https://api.github.com/users/maasglobal/events{/privacy}","received_events_url":"https://api.github.com/users/maasglobal/received_events","type":"Organization","site_admin":false},"repo":{"id":63860851,"node_id":"MDEwOlJlcG9zaXRvcnk2Mzg2MDg1MQ==","name":"maas-schemas","full_name":"maasglobal/maas-schemas","owner":{"login":"maasglobal","id":17618385,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjE4Mzg1","avatar_url":"https://avatars1.githubusercontent.com/u/17618385?v=4","gravatar_id":"","url":"https://api.github.com/users/maasglobal","html_url":"https://github.com/maasglobal","followers_url":"https://api.github.com/users/maasglobal/followers","following_url":"https://api.github.com/users/maasglobal/following{/other_user}","gists_url":"https://api.github.com/users/maasglobal/gists{/gist_id}","starred_url":"https://api.github.com/users/maasglobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maasglobal/subscriptions","organizations_url":"https://api.github.com/users/maasglobal/orgs","repos_url":"https://api.github.com/users/maasglobal/repos","events_url":"https://api.github.com/users/maasglobal/events{/privacy}","received_events_url":"https://api.github.com/users/maasglobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maasglobal/maas-schemas","description":"Mobility as a Service API - data model, tests, and validation","fork":false,"url":"https://api.github.com/repos/maasglobal/maas-schemas","forks_url":"https://api.github.com/repos/maasglobal/maas-schemas/forks","keys_url":"https://api.github.com/repos/maasglobal/maas-schemas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maasglobal/maas-schemas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maasglobal/maas-schemas/teams","hooks_url":"https://api.github.com/repos/maasglobal/maas-schemas/hooks","issue_events_url":"https://api.github.com/repos/maasglobal/maas-schemas/issues/events{/number}","events_url":"https://api.github.com/repos/maasglobal/maas-schemas/events","assignees_url":"https://api.github.com/repos/maasglobal/maas-schemas/assignees{/user}","branches_url":"https://api.github.com/repos/maasglobal/maas-schemas/branches{/branch}","tags_url":"https://api.github.com/repos/maasglobal/maas-schemas/tags","blobs_url":"https://api.github.com/repos/maasglobal/maas-schemas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maasglobal/maas-schemas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maasglobal/maas-schemas/git/refs{/sha}","trees_url":"https://api.github.com/repos/maasglobal/maas-schemas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maasglobal/maas-schemas/statuses/{sha}","languages_url":"https://api.github.com/repos/maasglobal/maas-schemas/languages","stargazers_url":"https://api.github.com/repos/maasglobal/maas-schemas/stargazers","contributors_url":"https://api.github.com/repos/maasglobal/maas-schemas/contributors","subscribers_url":"https://api.github.com/repos/maasglobal/maas-schemas/subscribers","subscription_url":"https://api.github.com/repos/maasglobal/maas-schemas/subscription","commits_url":"https://api.github.com/repos/maasglobal/maas-schemas/commits{/sha}","git_commits_url":"https://api.github.com/repos/maasglobal/maas-schemas/git/commits{/sha}","comments_url":"https://api.github.com/repos/maasglobal/maas-schemas/comments{/number}","issue_comment_url":"https://api.github.com/repos/maasglobal/maas-schemas/issues/comments{/number}","contents_url":"https://api.github.com/repos/maasglobal/maas-schemas/contents/{+path}","compare_url":"https://api.github.com/repos/maasglobal/maas-schemas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maasglobal/maas-schemas/merges","archive_url":"https://api.github.com/repos/maasglobal/maas-schemas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maasglobal/maas-schemas/downloads","issues_url":"https://api.github.com/repos/maasglobal/maas-schemas/issues{/number}","pulls_url":"https://api.github.com/repos/maasglobal/maas-schemas/pulls{/number}","milestones_url":"https://api.github.com/repos/maasglobal/maas-schemas/milestones{/number}","notifications_url":"https://api.github.com/repos/maasglobal/maas-schemas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maasglobal/maas-schemas/labels{/name}","releases_url":"https://api.github.com/repos/maasglobal/maas-schemas/releases{/id}","deployments_url":"https://api.github.com/repos/maasglobal/maas-schemas/deployments","created_at":"2016-07-21T10:39:44Z","updated_at":"2018-09-03T10:49:08Z","pushed_at":"2018-09-07T10:14:10Z","git_url":"git://github.com/maasglobal/maas-schemas.git","ssh_url":"git@github.com:maasglobal/maas-schemas.git","clone_url":"https://github.com/maasglobal/maas-schemas.git","svn_url":"https://github.com/maasglobal/maas-schemas","homepage":"http://www.maas-api.org/","size":7062,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":15,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/318"},"html":{"href":"https://github.com/maasglobal/maas-schemas/pull/318"},"issue":{"href":"https://api.github.com/repos/maasglobal/maas-schemas/issues/318"},"comments":{"href":"https://api.github.com/repos/maasglobal/maas-schemas/issues/318/comments"},"review_comments":{"href":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/318/comments"},"review_comment":{"href":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maasglobal/maas-schemas/pulls/318/commits"},"statuses":{"href":"https://api.github.com/repos/maasglobal/maas-schemas/statuses/485b7d9e847d2869351b55efde1a8414c34594f2"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":51,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"alapto"}}