{"action":"created","issue":{"url":"https://api.github.com/repos/tryggvib/datapackage/issues/35","labels_url":"https://api.github.com/repos/tryggvib/datapackage/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/tryggvib/datapackage/issues/35/comments","events_url":"https://api.github.com/repos/tryggvib/datapackage/issues/35/events","html_url":"https://github.com/tryggvib/datapackage/issues/35","id":65146254,"number":35,"title":"Read any datapackage.json","user":{"login":"pwalsh","id":791678,"avatar_url":"https://avatars.githubusercontent.com/u/791678?v=3","gravatar_id":"","url":"https://api.github.com/users/pwalsh","html_url":"https://github.com/pwalsh","followers_url":"https://api.github.com/users/pwalsh/followers","following_url":"https://api.github.com/users/pwalsh/following{/other_user}","gists_url":"https://api.github.com/users/pwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/pwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwalsh/subscriptions","organizations_url":"https://api.github.com/users/pwalsh/orgs","repos_url":"https://api.github.com/users/pwalsh/repos","events_url":"https://api.github.com/users/pwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/pwalsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T06:27:27Z","updated_at":"2015-03-31T08:42:15Z","closed_at":null,"body":"As I discovered [here](https://github.com/tryggvib/datapackage/issues/34), the library is very strict in what it accepts as a Data Package. \r\n\r\nThis is quite limiting, from two angles:\r\n\r\n* The spec explicitly allows arbitrary properties:\r\n\r\n> It MAY contain any number of attributes. All attributes at the first level not otherwise specified here are considered metadata attributes.\r\n\r\nand\r\n\r\n> NOTE: A Data Package author MAY add any number of additional fields beyond those listed in the specification here.\r\n\r\n* I think there is a valid use case for a generic data package loader: meaning, load a data package descriptor, without needing to know what variant of a data package it is (Tabular Data Package, Budget Data Package, etc.)\r\n    * The use case that I have for this now is: I have some code that reads resources from a Data Package: for this code, it does not matter what type of Data Package it is: it just needs to get all the resources referenced in said data package.\r\n\r\nWDYT? "},"comment":{"url":"https://api.github.com/repos/tryggvib/datapackage/issues/comments/87996854","html_url":"https://github.com/tryggvib/datapackage/issues/35#issuecomment-87996854","issue_url":"https://api.github.com/repos/tryggvib/datapackage/issues/35","id":87996854,"user":{"login":"tryggvib","id":3489241,"avatar_url":"https://avatars.githubusercontent.com/u/3489241?v=3","gravatar_id":"","url":"https://api.github.com/users/tryggvib","html_url":"https://github.com/tryggvib","followers_url":"https://api.github.com/users/tryggvib/followers","following_url":"https://api.github.com/users/tryggvib/following{/other_user}","gists_url":"https://api.github.com/users/tryggvib/gists{/gist_id}","starred_url":"https://api.github.com/users/tryggvib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tryggvib/subscriptions","organizations_url":"https://api.github.com/users/tryggvib/orgs","repos_url":"https://api.github.com/users/tryggvib/repos","events_url":"https://api.github.com/users/tryggvib/events{/privacy}","received_events_url":"https://api.github.com/users/tryggvib/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T08:42:15Z","updated_at":"2015-03-31T08:42:15Z","body":"I think it is a problem that the library is so strict. That's not standard compliant. So we need to fix this."}}