{"action":"created","issue":{"url":"https://api.github.com/repos/SignalK/specification/issues/435","repository_url":"https://api.github.com/repos/SignalK/specification","labels_url":"https://api.github.com/repos/SignalK/specification/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/SignalK/specification/issues/435/comments","events_url":"https://api.github.com/repos/SignalK/specification/issues/435/events","html_url":"https://github.com/SignalK/specification/pull/435","id":297475467,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY5MzkzOTM5","number":435,"title":"[WIP] Separate Javascript schema API from Schema Specification","user":{"login":"bkp7","id":3868505,"node_id":"MDQ6VXNlcjM4Njg1MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/3868505?v=4","gravatar_id":"","url":"https://api.github.com/users/bkp7","html_url":"https://github.com/bkp7","followers_url":"https://api.github.com/users/bkp7/followers","following_url":"https://api.github.com/users/bkp7/following{/other_user}","gists_url":"https://api.github.com/users/bkp7/gists{/gist_id}","starred_url":"https://api.github.com/users/bkp7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkp7/subscriptions","organizations_url":"https://api.github.com/users/bkp7/orgs","repos_url":"https://api.github.com/users/bkp7/repos","events_url":"https://api.github.com/users/bkp7/events{/privacy}","received_events_url":"https://api.github.com/users/bkp7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-15T14:57:56Z","updated_at":"2018-07-11T07:40:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/SignalK/specification/pulls/435","html_url":"https://github.com/SignalK/specification/pull/435","diff_url":"https://github.com/SignalK/specification/pull/435.diff","patch_url":"https://github.com/SignalK/specification/pull/435.patch"},"body":"PR for issue #389.\r\n\r\nThe api has been separated out and published on npm `@bkp7/schema-js-api` for now. \r\n\r\nThis PR references version 0.0.5 of `@bkp7/schema-js-api` which is basically the code cut out of this repository as is.\r\n\r\nSubsequently, I have added some tests, fixed some issues and started on some documentation for the API which is currently at 0.0.7. There is a need, having separated out the API, to be able to load different versions of the schema as required, including local. As a result there is a small change to the API with `.schemas` being replaced with `.getSchemas()`. With this small change applied I am ensuring that later versions of the API work as expected with specification.\r\n\r\nThe API is currently light on documentation, as it never had to stand alone before. Before spending too much time tidying up the API I'd appreciate knowing that this will be adopted. There is no particular reason that the split shouldn't happen on the code as is, since the API is no less documented than it was previously.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SignalK/specification/issues/comments/404075194","html_url":"https://github.com/SignalK/specification/pull/435#issuecomment-404075194","issue_url":"https://api.github.com/repos/SignalK/specification/issues/435","id":404075194,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDA3NTE5NA==","user":{"login":"fabdrol","id":123201,"node_id":"MDQ6VXNlcjEyMzIwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/123201?v=4","gravatar_id":"","url":"https://api.github.com/users/fabdrol","html_url":"https://github.com/fabdrol","followers_url":"https://api.github.com/users/fabdrol/followers","following_url":"https://api.github.com/users/fabdrol/following{/other_user}","gists_url":"https://api.github.com/users/fabdrol/gists{/gist_id}","starred_url":"https://api.github.com/users/fabdrol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabdrol/subscriptions","organizations_url":"https://api.github.com/users/fabdrol/orgs","repos_url":"https://api.github.com/users/fabdrol/repos","events_url":"https://api.github.com/users/fabdrol/events{/privacy}","received_events_url":"https://api.github.com/users/fabdrol/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T07:40:31Z","updated_at":"2018-07-11T07:40:31Z","author_association":"MEMBER","body":"@bkp7 I can merge this into `schema-cleanup` if you think it's ready for that, that'll just leave the other to things todo. "}}
{"actor":{"display_login":"fabdrol"}}