{"action":"created","issue":{"url":"https://api.github.com/repos/open-contracting/standard/issues/250","repository_url":"https://api.github.com/repos/open-contracting/standard","labels_url":"https://api.github.com/repos/open-contracting/standard/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/open-contracting/standard/issues/250/comments","events_url":"https://api.github.com/repos/open-contracting/standard/issues/250/events","html_url":"https://github.com/open-contracting/standard/issues/250","id":109795065,"number":250,"title":"Extend items with deliveryAddress and deliveryLocation","user":{"login":"timgdavies","id":342624,"avatar_url":"https://avatars.githubusercontent.com/u/342624?v=3","gravatar_id":"","url":"https://api.github.com/users/timgdavies","html_url":"https://github.com/timgdavies","followers_url":"https://api.github.com/users/timgdavies/followers","following_url":"https://api.github.com/users/timgdavies/following{/other_user}","gists_url":"https://api.github.com/users/timgdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/timgdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgdavies/subscriptions","organizations_url":"https://api.github.com/users/timgdavies/orgs","repos_url":"https://api.github.com/users/timgdavies/repos","events_url":"https://api.github.com/users/timgdavies/events{/privacy}","received_events_url":"https://api.github.com/users/timgdavies/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-contracting/standard/labels/2%20-%20Proposal","name":"2 - Proposal","color":"fbca04"},{"url":"https://api.github.com/repos/open-contracting/standard/labels/discussion","name":"discussion","color":"d4c5f9"},{"url":"https://api.github.com/repos/open-contracting/standard/labels/Focus%20-%20Extensions","name":"Focus - Extensions","color":"95B125"},{"url":"https://api.github.com/repos/open-contracting/standard/labels/Focus%20-%20Field","name":"Focus - Field","color":"95B125"}],"state":"open","locked":false,"assignee":{"login":"timgdavies","id":342624,"avatar_url":"https://avatars.githubusercontent.com/u/342624?v=3","gravatar_id":"","url":"https://api.github.com/users/timgdavies","html_url":"https://github.com/timgdavies","followers_url":"https://api.github.com/users/timgdavies/followers","following_url":"https://api.github.com/users/timgdavies/following{/other_user}","gists_url":"https://api.github.com/users/timgdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/timgdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgdavies/subscriptions","organizations_url":"https://api.github.com/users/timgdavies/orgs","repos_url":"https://api.github.com/users/timgdavies/repos","events_url":"https://api.github.com/users/timgdavies/events{/privacy}","received_events_url":"https://api.github.com/users/timgdavies/received_events","type":"User","site_admin":false},"assignees":[{"login":"timgdavies","id":342624,"avatar_url":"https://avatars.githubusercontent.com/u/342624?v=3","gravatar_id":"","url":"https://api.github.com/users/timgdavies","html_url":"https://github.com/timgdavies","followers_url":"https://api.github.com/users/timgdavies/followers","following_url":"https://api.github.com/users/timgdavies/following{/other_user}","gists_url":"https://api.github.com/users/timgdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/timgdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgdavies/subscriptions","organizations_url":"https://api.github.com/users/timgdavies/orgs","repos_url":"https://api.github.com/users/timgdavies/repos","events_url":"https://api.github.com/users/timgdavies/events{/privacy}","received_events_url":"https://api.github.com/users/timgdavies/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/open-contracting/standard/milestones/5","html_url":"https://github.com/open-contracting/standard/milestones/Version%201.1","labels_url":"https://api.github.com/repos/open-contracting/standard/milestones/5/labels","id":1231433,"number":5,"title":"Version 1.1","description":"Issues for consideration for Version 1.1","creator":{"login":"timgdavies","id":342624,"avatar_url":"https://avatars.githubusercontent.com/u/342624?v=3","gravatar_id":"","url":"https://api.github.com/users/timgdavies","html_url":"https://github.com/timgdavies","followers_url":"https://api.github.com/users/timgdavies/followers","following_url":"https://api.github.com/users/timgdavies/following{/other_user}","gists_url":"https://api.github.com/users/timgdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/timgdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgdavies/subscriptions","organizations_url":"https://api.github.com/users/timgdavies/orgs","repos_url":"https://api.github.com/users/timgdavies/repos","events_url":"https://api.github.com/users/timgdavies/events{/privacy}","received_events_url":"https://api.github.com/users/timgdavies/received_events","type":"User","site_admin":false},"open_issues":92,"closed_issues":6,"state":"open","created_at":"2015-07-29T12:19:44Z","updated_at":"2016-08-22T17:14:59Z","due_on":"2016-09-29T23:00:00Z","closed_at":null},"comments":16,"created_at":"2015-10-05T13:23:11Z","updated_at":"2016-08-23T13:16:34Z","closed_at":null,"body":"Including location information in OCDS has been discussed in issue #26. This issue summarises the current proposal, with a view towards agreement for version 1.1 of the standard. \r\n\r\nAn [extension has been developed here](https://github.com/open-contracting/implementation-and-extensions/tree/master/proposed_extensions/proposed_location) which proposes the inclusion of two new properties against items:\r\n\r\n* ```deliveryAddress``` - a standard Address block which can be used to provide a postal address where services should be delivered.\r\n* ```deliveryLocation``` - a new block consisting of [GeoJSON geometry objects](http://geojson.org/geojson-spec.html#geometry-objects) and Gazetteer entries to describe a wider range of locations to which the contract line item relates.\r\n\r\nIt also proposes a new gazetteer codelist for identifying Gazetteers.\r\n\r\nBelow is an example of a geolocated item:\r\n\r\n```json\r\n\"items\": [\r\n    {\r\n        \"id\": \"item1\",\r\n        \"description\": \"Ceremonial Trumpets for Oxford Town Hall\",\r\n        \"classification\": {\r\n            \"description\": \"Trumpets\",\r\n            \"scheme\": \"CPV\",\r\n            \"id\": \"37312100\",\r\n            \"uri\": \"http://purl.org/cpv/2008/code-37312100\"\r\n        },\r\n        \"deliveryLocation\": {\r\n            \"geometry\": {\r\n                \"type\": \"Point\",\r\n                \"coordinates\": [51.751944, -1.257778]\r\n            },\r\n            \"gazetteer\": {\r\n                \"scheme\": \"GEONAMES\",\r\n                \"identifiers\": [\"2640729\"]\r\n            },\r\n            \"description\": \"Central Oxford\",\r\n            \"uri\": \"http://www.geonames.org/2640729/oxford.html\"\r\n        },\r\n        \"deliveryAddress\": {\r\n            \"postalCode\": \"OX1 1BX\",\r\n            \"countryName\": \"United Kingdom\",\r\n            \"streetAddress\": \"Town Hall, St Aldate's\",\r\n            \"region\": \"Oxfordshire\",\r\n            \"locality\": \"Oxford\"\r\n        },\r\n        \"unit\": {\r\n            \"name\": \"Items\",\r\n            \"value\": {\r\n                \"currency\": \"GBP\",\r\n                \"amount\": 10000\r\n            }\r\n        },\r\n        \"quantity\": \"10\"\r\n    }\r\n]\r\n```\r\n\r\nComments on this proposed location element are encouraged, including:\r\n\r\n1) The structure of the location element (deliveryAddress, deliveryLocation, use of geoJSON, and Gazetteer approach)\r\n2) Whether attaching location to line items is sufficient for most use cases;\r\n\r\n\r\n\r\n<!---\r\n@huboard:{\"order\":250.0,\"milestone_order\":250,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/open-contracting/standard/issues/comments/241726501","html_url":"https://github.com/open-contracting/standard/issues/250#issuecomment-241726501","issue_url":"https://api.github.com/repos/open-contracting/standard/issues/250","id":241726501,"user":{"login":"joshuacpowell","id":8236583,"avatar_url":"https://avatars.githubusercontent.com/u/8236583?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuacpowell","html_url":"https://github.com/joshuacpowell","followers_url":"https://api.github.com/users/joshuacpowell/followers","following_url":"https://api.github.com/users/joshuacpowell/following{/other_user}","gists_url":"https://api.github.com/users/joshuacpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuacpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuacpowell/subscriptions","organizations_url":"https://api.github.com/users/joshuacpowell/orgs","repos_url":"https://api.github.com/users/joshuacpowell/repos","events_url":"https://api.github.com/users/joshuacpowell/events{/privacy}","received_events_url":"https://api.github.com/users/joshuacpowell/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T13:16:34Z","updated_at":"2016-08-23T13:16:34Z","body":"This matches with our experience. For one item classification (e.g. textbook delivery) you may have dozens (or more) delivery locations. I would favor an array of locations for a single item, rather than replicating items for the primary reason of data entry error risk: if you have 100 textbooks being delivered to 10 locations, users would need to allocate the textbooks to locations. In the worst case, this introduces a higher risk of double counting (e.g. entering 100 textbooks per location, rather than allocating across)."}}
{"actor":{"display_login":"joshuacpowell"}}