{"action":"opened","issue":{"url":"https://api.github.com/repos/cfpb/grasshopper/issues/99","labels_url":"https://api.github.com/repos/cfpb/grasshopper/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/grasshopper/issues/99/comments","events_url":"https://api.github.com/repos/cfpb/grasshopper/issues/99/events","html_url":"https://github.com/cfpb/grasshopper/issues/99","id":81087528,"number":99,"title":"Batch API response (QM focus)","user":{"login":"awolfe76","id":2932572,"avatar_url":"https://avatars.githubusercontent.com/u/2932572?v=3","gravatar_id":"","url":"https://api.github.com/users/awolfe76","html_url":"https://github.com/awolfe76","followers_url":"https://api.github.com/users/awolfe76/followers","following_url":"https://api.github.com/users/awolfe76/following{/other_user}","gists_url":"https://api.github.com/users/awolfe76/gists{/gist_id}","starred_url":"https://api.github.com/users/awolfe76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awolfe76/subscriptions","organizations_url":"https://api.github.com/users/awolfe76/orgs","repos_url":"https://api.github.com/users/awolfe76/repos","events_url":"https://api.github.com/users/awolfe76/events{/privacy}","received_events_url":"https://api.github.com/users/awolfe76/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cfpb/grasshopper/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cfpb/grasshopper/milestones/3","html_url":"https://github.com/cfpb/grasshopper/milestones/M3","labels_url":"https://api.github.com/repos/cfpb/grasshopper/milestones/3/labels","id":1054452,"number":3,"title":"M3","description":"","creator":{"login":"jmarin","id":438146,"avatar_url":"https://avatars.githubusercontent.com/u/438146?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarin","html_url":"https://github.com/jmarin","followers_url":"https://api.github.com/users/jmarin/followers","following_url":"https://api.github.com/users/jmarin/following{/other_user}","gists_url":"https://api.github.com/users/jmarin/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarin/subscriptions","organizations_url":"https://api.github.com/users/jmarin/orgs","repos_url":"https://api.github.com/users/jmarin/repos","events_url":"https://api.github.com/users/jmarin/events{/privacy}","received_events_url":"https://api.github.com/users/jmarin/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":0,"state":"open","created_at":"2015-04-06T13:46:04Z","updated_at":"2015-05-26T18:47:31Z","due_on":"2015-07-03T04:00:00Z","closed_at":null},"comments":0,"created_at":"2015-05-26T18:47:31Z","updated_at":"2015-05-26T18:47:31Z","closed_at":null,"body":"This is a question to get the conversation started on the batch API response for M3.\r\n\r\n- Can more than one result be returned per query?\r\n- Can we have no results returned, or will there always be something (maybe just low relevancy)?\r\n    - If multiples are returned is the first one the best? Add relevancy to determine the best?\r\n- Adding a `status` per query ('OK', 'No results', 'Multiple Results')?\r\n- Add keys for app specific (e.g. QM) queries?\r\n- Should we introduce `FeatureCollection` for results per query?\r\n\r\nA possible example:\r\n```\r\n[\r\n  {\r\n    \"type\": \"FeatureCollection\",\r\n    \"query\": \"638 Louise Terrace, Loomis, California, 81985\",\r\n    \"features\": [\r\n      {\r\n        \"type\": \"Feature\",\r\n        \"geometry\": {\r\n          \"type\": \"Point\",\r\n          \"coordinates\": [\r\n            -74.518537,\r\n            179.083152,\r\n            0\r\n          ]\r\n        },\r\n        \"properties\": {\r\n          \"address\": \"637 Louise Terrace, Loomis, California, 81985\",\r\n          \"alt_addresses\": \"\",\r\n          \"load_date\": 1284882682262,\r\n          \"relevancy\": 0.99\r\n          // QM fields\r\n          \"county\": \"\",\r\n          \"census_block\": 2.03,\r\n          \"rural_underserved\": false          \r\n        }\r\n      },\r\n      {\r\n        \"type\": \"Feature\",\r\n        \"geometry\": {\r\n          \"type\": \"Point\",\r\n          \"coordinates\": [\r\n            -74.518537,\r\n            179.083152,\r\n            0\r\n          ]\r\n        },\r\n        \"properties\": {\r\n          \"address\": \"636 Louise Terrace, Loomis, California, 81985\",\r\n          \"alt_addresses\": \"\",\r\n          \"load_date\": 1284882682262,\r\n          \"relevancy\": 0.99\r\n          // QM fields\r\n          \"county\": \"\",\r\n          \"census_block\": 2.03,\r\n          \"rural_underserved\": false\r\n        }\r\n      }\r\n    ],\r\n    \"status\": \"OK\"\r\n  }\r\n]\r\n```"}}