{"action":"created","issue":{"url":"https://api.github.com/repos/okfn/publicbodies/issues/73","labels_url":"https://api.github.com/repos/okfn/publicbodies/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/okfn/publicbodies/issues/73/comments","events_url":"https://api.github.com/repos/okfn/publicbodies/issues/73/events","html_url":"https://github.com/okfn/publicbodies/issues/73","id":127432629,"number":73,"title":"add resources to datapackage.json","user":{"login":"augusto-herrmann","id":1058414,"avatar_url":"https://avatars.githubusercontent.com/u/1058414?v=3","gravatar_id":"","url":"https://api.github.com/users/augusto-herrmann","html_url":"https://github.com/augusto-herrmann","followers_url":"https://api.github.com/users/augusto-herrmann/followers","following_url":"https://api.github.com/users/augusto-herrmann/following{/other_user}","gists_url":"https://api.github.com/users/augusto-herrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/augusto-herrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augusto-herrmann/subscriptions","organizations_url":"https://api.github.com/users/augusto-herrmann/orgs","repos_url":"https://api.github.com/users/augusto-herrmann/repos","events_url":"https://api.github.com/users/augusto-herrmann/events{/privacy}","received_events_url":"https://api.github.com/users/augusto-herrmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-19T12:12:58Z","updated_at":"2016-01-29T02:43:17Z","closed_at":null,"body":"The `datapackage.json` file describes the publicbodies dataset according to the [Tabular Data Package](http://dataprotocols.org/tabular-data-package/) specification. It currently references only the `data/gb.csv` resource. Should be updated with references to all resources in the dataset.\r\n\r\nNote: considering each resource has to list all fields in the schema, in order to save some repetitive work, this probably should be done preferably after deciding on the pending changes to the schema (e.g. #61 #65 #68)."},"comment":{"url":"https://api.github.com/repos/okfn/publicbodies/issues/comments/176538771","html_url":"https://github.com/okfn/publicbodies/issues/73#issuecomment-176538771","issue_url":"https://api.github.com/repos/okfn/publicbodies/issues/73","id":176538771,"user":{"login":"augusto-herrmann","id":1058414,"avatar_url":"https://avatars.githubusercontent.com/u/1058414?v=3","gravatar_id":"","url":"https://api.github.com/users/augusto-herrmann","html_url":"https://github.com/augusto-herrmann","followers_url":"https://api.github.com/users/augusto-herrmann/followers","following_url":"https://api.github.com/users/augusto-herrmann/following{/other_user}","gists_url":"https://api.github.com/users/augusto-herrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/augusto-herrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augusto-herrmann/subscriptions","organizations_url":"https://api.github.com/users/augusto-herrmann/orgs","repos_url":"https://api.github.com/users/augusto-herrmann/repos","events_url":"https://api.github.com/users/augusto-herrmann/events{/privacy}","received_events_url":"https://api.github.com/users/augusto-herrmann/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T02:43:16Z","updated_at":"2016-01-29T02:43:16Z","body":"A very pertinent  observation, @rgrp, thanks!\r\n\r\nI only really looked into this matter today. It seems the current `datapackage.json` is not passing schema validation with goodtables.\r\n\r\n```\r\n$ goodtables schema data/gb.csv --schema datapackage.json \r\n...\r\n  File \"... /local/lib/python2.7/site-packages/goodtables/processors/schema.py\", line 91, in schema_model\r\n    raise e\r\njsontableschema.exceptions.InvalidSchemaError\r\n```\r\nBut goodtables does not give a detailed description on what the actual problem preventing validation was.\r\n\r\n@todrobbins, feel free to assign this issue to yourself if you're already into it."}}