{"action":"created","issue":{"url":"https://api.github.com/repos/conveyal/r5/issues/98","repository_url":"https://api.github.com/repos/conveyal/r5","labels_url":"https://api.github.com/repos/conveyal/r5/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/conveyal/r5/issues/98/comments","events_url":"https://api.github.com/repos/conveyal/r5/issues/98/events","html_url":"https://github.com/conveyal/r5/issues/98","id":139109274,"number":98,"title":"adjust-speed modification","user":{"login":"mattwigway","id":566958,"avatar_url":"https://avatars.githubusercontent.com/u/566958?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwigway","html_url":"https://github.com/mattwigway","followers_url":"https://api.github.com/users/mattwigway/followers","following_url":"https://api.github.com/users/mattwigway/following{/other_user}","gists_url":"https://api.github.com/users/mattwigway/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwigway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwigway/subscriptions","organizations_url":"https://api.github.com/users/mattwigway/orgs","repos_url":"https://api.github.com/users/mattwigway/repos","events_url":"https://api.github.com/users/mattwigway/events{/privacy}","received_events_url":"https://api.github.com/users/mattwigway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/conveyal/r5/milestones/3","html_url":"https://github.com/conveyal/r5/milestones/Modifications","labels_url":"https://api.github.com/repos/conveyal/r5/milestones/3/labels","id":1627263,"number":3,"title":"Modifications","description":"","creator":{"login":"mattwigway","id":566958,"avatar_url":"https://avatars.githubusercontent.com/u/566958?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwigway","html_url":"https://github.com/mattwigway","followers_url":"https://api.github.com/users/mattwigway/followers","following_url":"https://api.github.com/users/mattwigway/following{/other_user}","gists_url":"https://api.github.com/users/mattwigway/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwigway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwigway/subscriptions","organizations_url":"https://api.github.com/users/mattwigway/orgs","repos_url":"https://api.github.com/users/mattwigway/repos","events_url":"https://api.github.com/users/mattwigway/events{/privacy}","received_events_url":"https://api.github.com/users/mattwigway/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2016-03-07T21:13:05Z","updated_at":"2016-03-07T22:06:43Z","due_on":"2016-03-21T04:00:00Z","closed_at":null},"comments":15,"created_at":"2016-03-07T22:05:49Z","updated_at":"2016-03-31T11:57:17Z","closed_at":null,"body":"We need to adjust speeds on all or part of a route:\r\n\r\n```\r\n{\r\n      \"name\": \"Add exclusive lanes downtown\",\r\n      // feed ID\r\n      \"feed\": \"kcata\",\r\n      // route IDs, ignored if trips are specified\r\n      \"routes\": [\r\n        \"47\"\r\n      ],\r\n      // trips to modify\r\n      \"trips\": [\r\n        \"4666308\",\r\n        \"4666348\"\r\n      ],\r\n\r\n      // if true, scale existing speeds; if false, set a new speed in km/h\r\n      \"scale\": true,\r\n      // depending on value of above, either scale factor (larger is faster), or new speed in km/h\r\n      \"value\": 1.5,\r\n      \"type\": \"adjust-speed\",\r\n      // stops _at the start of_ the hops to which this modification should be applied\r\n      // if null, all hops should be modified.\r\n      \"stops\": [\r\n        \"10\",\r\n        \"5400089\",\r\n        \"290053\",\r\n        \"290091\",\r\n        \"2800191\",\r\n        \"2800195\",\r\n        \"2220019\",\r\n        \"2220021\"\r\n      ]\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/conveyal/r5/issues/comments/203897037","html_url":"https://github.com/conveyal/r5/issues/98#issuecomment-203897037","issue_url":"https://api.github.com/repos/conveyal/r5/issues/98","id":203897037,"user":{"login":"mattwigway","id":566958,"avatar_url":"https://avatars.githubusercontent.com/u/566958?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwigway","html_url":"https://github.com/mattwigway","followers_url":"https://api.github.com/users/mattwigway/followers","following_url":"https://api.github.com/users/mattwigway/following{/other_user}","gists_url":"https://api.github.com/users/mattwigway/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwigway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwigway/subscriptions","organizations_url":"https://api.github.com/users/mattwigway/orgs","repos_url":"https://api.github.com/users/mattwigway/repos","events_url":"https://api.github.com/users/mattwigway/events{/privacy}","received_events_url":"https://api.github.com/users/mattwigway/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T11:57:17Z","updated_at":"2016-03-31T11:57:17Z","body":"No objections, gzip will make that tiny.\n\nOn Thu, Mar 31, 2016 at 6:30 AM, Andrew Byrd <notifications@github.com>\nwrote:\n\n> Positional semantics are generally bad, and JSON arrays allow any number\n> of elements. Just for clarity, what if the hops look like this:\n>\n> \"hops\": [\n>   {\n>     \"from\": \"kcata:10\",\n>     \"to\": \"kcata:5400089\"\n>   },\n>   {\n>     \"from\": \"kcata:290053\",\n>     \"to\": \"kcata:290091\"\n>   }\n> ]\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/conveyal/r5/issues/98#issuecomment-203871728>\n>\n\n\n\n-- \nMatthew Wigginton Conway [WIG-in-tun CON-way]\nTransportation Analytics/Open Source\nWashington, DC\n"}}