{"action":"created","issue":{"url":"https://api.github.com/repos/open-contracting/standard/issues/366","repository_url":"https://api.github.com/repos/open-contracting/standard","labels_url":"https://api.github.com/repos/open-contracting/standard/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/open-contracting/standard/issues/366/comments","events_url":"https://api.github.com/repos/open-contracting/standard/issues/366/events","html_url":"https://github.com/open-contracting/standard/issues/366","id":176707443,"number":366,"title":" Unit of Measure - additional fields and codelist","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/Focus%20-%20Codelist","name":"Focus - Codelist","color":"95B125"},{"url":"https://api.github.com/repos/open-contracting/standard/labels/Focus%20-%20Core","name":"Focus - Core","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"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":68,"closed_issues":55,"state":"open","created_at":"2015-07-29T12:19:44Z","updated_at":"2016-09-21T15:14:38Z","due_on":"2016-09-29T23:00:00Z","closed_at":null},"comments":5,"created_at":"2016-09-13T17:56:31Z","updated_at":"2016-09-30T10:08:42Z","closed_at":null,"body":"This issue is under consideration for the 1.1 milestone. \r\n\r\nThis builds on prior discussions in #145 and #177\r\n\r\n### The problem\r\n\r\nIn OCDS it is possible to specify item.quantity and item.unit, and to indicate the value/cost per unit. \r\n\r\nHowever, unit of measure (unit.name) is currently a string. This means there is no consistent way to provide a unit of measure. This impacts comparing units across contracts or within the same contract.\r\n\r\n### Proposed solution\r\n\r\nThe unit building block will be revised to include four new properties:\r\n\r\n* scheme - an identifier for the codelist from which units of measure are taken\r\n* id - the identifier from the codelist referenced in scheme\r\n* symbol - an optional user-friendly symbol for the unit of measurement\r\n* uri - an optional URI to machine-readable data on this unit of measure\r\n\r\n\r\nA **open** codelist will be created of unitClassificationSchemes, with initially a single entry for:\r\n\r\n| Code | Name | Description |\r\n| -----|------|-------------|\r\n| UNCEFACT | UN/CEFACT Recommendation 20 | Use the commmon code from the latest version of the UN/CEFACT Recommendation 20 list of \"Codes for Units of Measure Used in International Trade\" |\r\n\r\nUNCEFACT is preferred based on it's use in CEN BII, and it's inclusion of informative units. \r\n\r\n### Example\r\n\r\nTo describe an order for 100Gb of storage at £0.50 per GB:\r\n\r\n```json\r\n\r\n\"items\": [{\r\n\t\"quantity\":100,\r\n\t\"unit\": {\r\n\t    \"name\":\"gigabyte\",\r\n\t    \"id\":\"E34\",\r\n\t    \"symbol\":\"GB\",\r\n\t    \"scheme\":\"UNCEFACT\",\r\n\t    \"value\": {\r\n\t    \t\t\"currency\":\"GBP\",\r\n\t    \t\t\"amount\":0.5\r\n\t    }\r\n\t}\r\n}]\r\n```\r\n\r\nTo describe an order for 100 cars at EUR 8,000 per car using the UNCEFACT code 'EA' for 'Each item'.\r\n\r\n```json \r\n\"items\": [{\r\n\t\"description\":\"Cars for use by the police force\",\r\n\t\"classification\":{\r\n\t\t\"scheme\":\"CPV\",\r\n\t\t\"id\":\"34114200\"\r\n\t},\r\n\t\"quantity\":100,\r\n\t\"unit\": {\r\n\t    \"name\":\"Each\",\r\n\t    \"id\":\"EA\",\r\n\t    \"scheme\":\"UNCEFACT\",\r\n\t    \"value\": {\r\n\t    \t\t\"currency\":\"EUR\",\r\n\t    \t\t\"amount\":8000\r\n\t    }\r\n\t}\r\n}]\r\n```\r\n\r\n### Engagement\r\n\r\nPlease indicate support or opposition for this proposal using the +1 / -1 buttons or a comment. If opposing the proposal, please give clear justifications, and where possible, make an alternative proposals. \r\n\r\n### Remainting detail questions\r\n\r\n* What is the update process for the UNCEFACT Reccomendation 20 list? Are codes ever removed? What is the risk in referencing 'the latest version' as opposed to a specific version of this codelist?\r\n\r\n* Should we maintain a list of common units or examples extracted from UNCEFACT in the documentation? What should be on this list if so? "},"comment":{"url":"https://api.github.com/repos/open-contracting/standard/issues/comments/250708652","html_url":"https://github.com/open-contracting/standard/issues/366#issuecomment-250708652","issue_url":"https://api.github.com/repos/open-contracting/standard/issues/366","id":250708652,"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},"created_at":"2016-09-30T10:08:42Z","updated_at":"2016-09-30T10:08:42Z","body":"@LindseyAM If you can share pointers to Georgian or CONSIP example data, or signpost to people who might be able to help there that would be great. "}}
{"actor":{"display_login":"timgdavies"}}