{"action":"created","comment":{"url":"https://api.github.com/repos/28msec/cellstore/pulls/comments/26674799","id":26674799,"diff_hunk":"@@ -0,0 +1,238 @@\n+jsoniq version \"1.0\";\n+\n+(:\n+ : Copyright 2012-2015 28msec Inc.\n+ :)\n+\n+(:~\n+ : <p>This module provides functionality for exporting archives to the XBRL format.</p>\n+ :\n+ : @author Dennis Knochenwefel\n+ : @author Ghislain Fourny\n+ :)\n+module namespace xbrl-export = \"http://28.io/modules/xbrl/export\";\n+\n+\n+import module namespace archives = \"http://28.io/modules/xbrl/archives\";\n+import module namespace concepts = \"http://28.io/modules/xbrl/concepts\";\n+import module namespace components = \"http://28.io/modules/xbrl/components\";\n+import module namespace networks = \"http://28.io/modules/xbrl/networks\";\n+import module namespace labels = \"http://28.io/modules/xbrl/labels\";\n+\n+import module namespace archive = \"http://zorba.io/modules/archive\";\n+import module namespace credentials = \"http://www.28msec.com/modules/credentials\";\n+import schema namespace mongos = \"http://www.28msec.com/modules/mongodb/types\";\n+\n+declare variable $xbrl-export:serialization-parameters :=\n+    <serialization-parameters xmlns=\"http://www.w3.org/2010/xslt-xquery-serialization\">\n+      <method value=\"xml\"/>\n+      <indent value=\"yes\"/>\n+      <encoding value=\"UTF-8\"/>\n+    </serialization-parameters>;\n+\n+declare %private function xbrl-export:comment() as comment()\n+{\n+  comment { \"\n+    Generated: \" || current-dateTime() || \" (\" || credentials:credentials(\"MongoDB\", \"xbrl\").db || \")\n+    Designed by XBRL Switzerland Working Group","path":"queries/modules/io/28/modules/xbrl/export.jq","position":37,"original_position":37,"commit_id":"0d0b75a0dd6d8e7fc5ab1fc29bc4f9d37c1a936c","original_commit_id":"0d0b75a0dd6d8e7fc5ab1fc29bc4f9d37c1a936c","user":{"login":"dknochen","id":1012324,"avatar_url":"https://avatars.githubusercontent.com/u/1012324?v=3","gravatar_id":"","url":"https://api.github.com/users/dknochen","html_url":"https://github.com/dknochen","followers_url":"https://api.github.com/users/dknochen/followers","following_url":"https://api.github.com/users/dknochen/following{/other_user}","gists_url":"https://api.github.com/users/dknochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dknochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dknochen/subscriptions","organizations_url":"https://api.github.com/users/dknochen/orgs","repos_url":"https://api.github.com/users/dknochen/repos","events_url":"https://api.github.com/users/dknochen/events{/privacy}","received_events_url":"https://api.github.com/users/dknochen/received_events","type":"User","site_admin":false},"body":"we should make this an optional parameter. Coca Cola would probably not be amused.","created_at":"2015-03-18T15:39:55Z","updated_at":"2015-03-18T15:39:55Z","html_url":"https://github.com/28msec/cellstore/pull/769#discussion_r26674799","pull_request_url":"https://api.github.com/repos/28msec/cellstore/pulls/769","_links":{"self":{"href":"https://api.github.com/repos/28msec/cellstore/pulls/comments/26674799"},"html":{"href":"https://github.com/28msec/cellstore/pull/769#discussion_r26674799"},"pull_request":{"href":"https://api.github.com/repos/28msec/cellstore/pulls/769"}}},"pull_request":{"url":"https://api.github.com/repos/28msec/cellstore/pulls/769","id":30567096,"html_url":"https://github.com/28msec/cellstore/pull/769","diff_url":"https://github.com/28msec/cellstore/pull/769.diff","patch_url":"https://github.com/28msec/cellstore/pull/769.patch","issue_url":"https://api.github.com/repos/28msec/cellstore/issues/769","number":769,"state":"open","locked":false,"title":"Swissxbrl","user":{"login":"dknochen","id":1012324,"avatar_url":"https://avatars.githubusercontent.com/u/1012324?v=3","gravatar_id":"","url":"https://api.github.com/users/dknochen","html_url":"https://github.com/dknochen","followers_url":"https://api.github.com/users/dknochen/followers","following_url":"https://api.github.com/users/dknochen/following{/other_user}","gists_url":"https://api.github.com/users/dknochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dknochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dknochen/subscriptions","organizations_url":"https://api.github.com/users/dknochen/orgs","repos_url":"https://api.github.com/users/dknochen/repos","events_url":"https://api.github.com/users/dknochen/events{/privacy}","received_events_url":"https://api.github.com/users/dknochen/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-05T15:41:34Z","updated_at":"2015-03-18T15:39:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5903b95d04cd134b84c9f18c125186a03c7e718","assignee":{"login":"dknochen","id":1012324,"avatar_url":"https://avatars.githubusercontent.com/u/1012324?v=3","gravatar_id":"","url":"https://api.github.com/users/dknochen","html_url":"https://github.com/dknochen","followers_url":"https://api.github.com/users/dknochen/followers","following_url":"https://api.github.com/users/dknochen/following{/other_user}","gists_url":"https://api.github.com/users/dknochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dknochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dknochen/subscriptions","organizations_url":"https://api.github.com/users/dknochen/orgs","repos_url":"https://api.github.com/users/dknochen/repos","events_url":"https://api.github.com/users/dknochen/events{/privacy}","received_events_url":"https://api.github.com/users/dknochen/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/28msec/cellstore/pulls/769/commits","review_comments_url":"https://api.github.com/repos/28msec/cellstore/pulls/769/comments","review_comment_url":"https://api.github.com/repos/28msec/cellstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/28msec/cellstore/issues/769/comments","statuses_url":"https://api.github.com/repos/28msec/cellstore/statuses/0d0b75a0dd6d8e7fc5ab1fc29bc4f9d37c1a936c","head":{"label":"28msec:swissxbrl","ref":"swissxbrl","sha":"0d0b75a0dd6d8e7fc5ab1fc29bc4f9d37c1a936c","user":{"login":"28msec","id":5612491,"avatar_url":"https://avatars.githubusercontent.com/u/5612491?v=3","gravatar_id":"","url":"https://api.github.com/users/28msec","html_url":"https://github.com/28msec","followers_url":"https://api.github.com/users/28msec/followers","following_url":"https://api.github.com/users/28msec/following{/other_user}","gists_url":"https://api.github.com/users/28msec/gists{/gist_id}","starred_url":"https://api.github.com/users/28msec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/28msec/subscriptions","organizations_url":"https://api.github.com/users/28msec/orgs","repos_url":"https://api.github.com/users/28msec/repos","events_url":"https://api.github.com/users/28msec/events{/privacy}","received_events_url":"https://api.github.com/users/28msec/received_events","type":"Organization","site_admin":false},"repo":{"id":14939107,"name":"cellstore","full_name":"28msec/cellstore","owner":{"login":"28msec","id":5612491,"avatar_url":"https://avatars.githubusercontent.com/u/5612491?v=3","gravatar_id":"","url":"https://api.github.com/users/28msec","html_url":"https://github.com/28msec","followers_url":"https://api.github.com/users/28msec/followers","following_url":"https://api.github.com/users/28msec/following{/other_user}","gists_url":"https://api.github.com/users/28msec/gists{/gist_id}","starred_url":"https://api.github.com/users/28msec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/28msec/subscriptions","organizations_url":"https://api.github.com/users/28msec/orgs","repos_url":"https://api.github.com/users/28msec/repos","events_url":"https://api.github.com/users/28msec/events{/privacy}","received_events_url":"https://api.github.com/users/28msec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/28msec/cellstore","description":"Modern Data Warehouse","fork":false,"url":"https://api.github.com/repos/28msec/cellstore","forks_url":"https://api.github.com/repos/28msec/cellstore/forks","keys_url":"https://api.github.com/repos/28msec/cellstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/28msec/cellstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/28msec/cellstore/teams","hooks_url":"https://api.github.com/repos/28msec/cellstore/hooks","issue_events_url":"https://api.github.com/repos/28msec/cellstore/issues/events{/number}","events_url":"https://api.github.com/repos/28msec/cellstore/events","assignees_url":"https://api.github.com/repos/28msec/cellstore/assignees{/user}","branches_url":"https://api.github.com/repos/28msec/cellstore/branches{/branch}","tags_url":"https://api.github.com/repos/28msec/cellstore/tags","blobs_url":"https://api.github.com/repos/28msec/cellstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/28msec/cellstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/28msec/cellstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/28msec/cellstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/28msec/cellstore/statuses/{sha}","languages_url":"https://api.github.com/repos/28msec/cellstore/languages","stargazers_url":"https://api.github.com/repos/28msec/cellstore/stargazers","contributors_url":"https://api.github.com/repos/28msec/cellstore/contributors","subscribers_url":"https://api.github.com/repos/28msec/cellstore/subscribers","subscription_url":"https://api.github.com/repos/28msec/cellstore/subscription","commits_url":"https://api.github.com/repos/28msec/cellstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/28msec/cellstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/28msec/cellstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/28msec/cellstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/28msec/cellstore/contents/{+path}","compare_url":"https://api.github.com/repos/28msec/cellstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/28msec/cellstore/merges","archive_url":"https://api.github.com/repos/28msec/cellstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/28msec/cellstore/downloads","issues_url":"https://api.github.com/repos/28msec/cellstore/issues{/number}","pulls_url":"https://api.github.com/repos/28msec/cellstore/pulls{/number}","milestones_url":"https://api.github.com/repos/28msec/cellstore/milestones{/number}","notifications_url":"https://api.github.com/repos/28msec/cellstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/28msec/cellstore/labels{/name}","releases_url":"https://api.github.com/repos/28msec/cellstore/releases{/id}","created_at":"2013-12-04T23:41:55Z","updated_at":"2015-03-18T13:08:20Z","pushed_at":"2015-03-18T15:32:06Z","git_url":"git://github.com/28msec/cellstore.git","ssh_url":"git@github.com:28msec/cellstore.git","clone_url":"https://github.com/28msec/cellstore.git","svn_url":"https://github.com/28msec/cellstore","homepage":"http://28msec.github.io/cellstore","size":81809,"stargazers_count":9,"watchers_count":9,"language":"JSONiq","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":38,"forks":6,"open_issues":38,"watchers":9,"default_branch":"master"}},"base":{"label":"28msec:master","ref":"master","sha":"a858d91ccd9451e0c92fa85c454ab47bcf7c329d","user":{"login":"28msec","id":5612491,"avatar_url":"https://avatars.githubusercontent.com/u/5612491?v=3","gravatar_id":"","url":"https://api.github.com/users/28msec","html_url":"https://github.com/28msec","followers_url":"https://api.github.com/users/28msec/followers","following_url":"https://api.github.com/users/28msec/following{/other_user}","gists_url":"https://api.github.com/users/28msec/gists{/gist_id}","starred_url":"https://api.github.com/users/28msec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/28msec/subscriptions","organizations_url":"https://api.github.com/users/28msec/orgs","repos_url":"https://api.github.com/users/28msec/repos","events_url":"https://api.github.com/users/28msec/events{/privacy}","received_events_url":"https://api.github.com/users/28msec/received_events","type":"Organization","site_admin":false},"repo":{"id":14939107,"name":"cellstore","full_name":"28msec/cellstore","owner":{"login":"28msec","id":5612491,"avatar_url":"https://avatars.githubusercontent.com/u/5612491?v=3","gravatar_id":"","url":"https://api.github.com/users/28msec","html_url":"https://github.com/28msec","followers_url":"https://api.github.com/users/28msec/followers","following_url":"https://api.github.com/users/28msec/following{/other_user}","gists_url":"https://api.github.com/users/28msec/gists{/gist_id}","starred_url":"https://api.github.com/users/28msec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/28msec/subscriptions","organizations_url":"https://api.github.com/users/28msec/orgs","repos_url":"https://api.github.com/users/28msec/repos","events_url":"https://api.github.com/users/28msec/events{/privacy}","received_events_url":"https://api.github.com/users/28msec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/28msec/cellstore","description":"Modern Data Warehouse","fork":false,"url":"https://api.github.com/repos/28msec/cellstore","forks_url":"https://api.github.com/repos/28msec/cellstore/forks","keys_url":"https://api.github.com/repos/28msec/cellstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/28msec/cellstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/28msec/cellstore/teams","hooks_url":"https://api.github.com/repos/28msec/cellstore/hooks","issue_events_url":"https://api.github.com/repos/28msec/cellstore/issues/events{/number}","events_url":"https://api.github.com/repos/28msec/cellstore/events","assignees_url":"https://api.github.com/repos/28msec/cellstore/assignees{/user}","branches_url":"https://api.github.com/repos/28msec/cellstore/branches{/branch}","tags_url":"https://api.github.com/repos/28msec/cellstore/tags","blobs_url":"https://api.github.com/repos/28msec/cellstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/28msec/cellstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/28msec/cellstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/28msec/cellstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/28msec/cellstore/statuses/{sha}","languages_url":"https://api.github.com/repos/28msec/cellstore/languages","stargazers_url":"https://api.github.com/repos/28msec/cellstore/stargazers","contributors_url":"https://api.github.com/repos/28msec/cellstore/contributors","subscribers_url":"https://api.github.com/repos/28msec/cellstore/subscribers","subscription_url":"https://api.github.com/repos/28msec/cellstore/subscription","commits_url":"https://api.github.com/repos/28msec/cellstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/28msec/cellstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/28msec/cellstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/28msec/cellstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/28msec/cellstore/contents/{+path}","compare_url":"https://api.github.com/repos/28msec/cellstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/28msec/cellstore/merges","archive_url":"https://api.github.com/repos/28msec/cellstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/28msec/cellstore/downloads","issues_url":"https://api.github.com/repos/28msec/cellstore/issues{/number}","pulls_url":"https://api.github.com/repos/28msec/cellstore/pulls{/number}","milestones_url":"https://api.github.com/repos/28msec/cellstore/milestones{/number}","notifications_url":"https://api.github.com/repos/28msec/cellstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/28msec/cellstore/labels{/name}","releases_url":"https://api.github.com/repos/28msec/cellstore/releases{/id}","created_at":"2013-12-04T23:41:55Z","updated_at":"2015-03-18T13:08:20Z","pushed_at":"2015-03-18T15:32:06Z","git_url":"git://github.com/28msec/cellstore.git","ssh_url":"git@github.com:28msec/cellstore.git","clone_url":"https://github.com/28msec/cellstore.git","svn_url":"https://github.com/28msec/cellstore","homepage":"http://28msec.github.io/cellstore","size":81809,"stargazers_count":9,"watchers_count":9,"language":"JSONiq","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":38,"forks":6,"open_issues":38,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/28msec/cellstore/pulls/769"},"html":{"href":"https://github.com/28msec/cellstore/pull/769"},"issue":{"href":"https://api.github.com/repos/28msec/cellstore/issues/769"},"comments":{"href":"https://api.github.com/repos/28msec/cellstore/issues/769/comments"},"review_comments":{"href":"https://api.github.com/repos/28msec/cellstore/pulls/769/comments"},"review_comment":{"href":"https://api.github.com/repos/28msec/cellstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/28msec/cellstore/pulls/769/commits"},"statuses":{"href":"https://api.github.com/repos/28msec/cellstore/statuses/0d0b75a0dd6d8e7fc5ab1fc29bc4f9d37c1a936c"}}}}