{"action":"created","comment":{"url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/comments/56341392","id":56341392,"diff_hunk":"@@ -0,0 +1,63 @@\n+/*\n+* Copyright 2016 Basis Technology Corp.\n+*\n+* Licensed under the Apache License, Version 2.0 (the \"License\");\n+* you may not use this file except in compliance with the License.\n+* You may obtain a copy of the License at\n+*\n+* http://www.apache.org/licenses/LICENSE-2.0\n+*\n+* Unless required by applicable law or agreed to in writing, software\n+* distributed under the License is distributed on an \"AS IS\" BASIS,\n+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+* See the License for the specific language governing permissions and\n+* limitations under the License.\n+*/\n+\n+package com.basistech.rosette.dm.jackson;\n+\n+import com.fasterxml.jackson.core.JsonGenerator;\n+import com.fasterxml.jackson.databind.JavaType;\n+import com.fasterxml.jackson.databind.SerializerProvider;\n+import com.fasterxml.jackson.databind.cfg.MapperConfig;\n+import com.fasterxml.jackson.databind.introspect.AnnotatedClass;\n+import com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition;\n+import com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter;\n+import com.fasterxml.jackson.databind.util.Annotations;\n+\n+/**\n+ * Custom injected property that injects the version of the ADM _as a Json data model_.\n+ * Version history:\n+ * <ul>\n+ *     <li>1.0.0 -- the 'classic' ADM</li>","path":"json/src/main/java/com/basistech/rosette/dm/jackson/VersionProperty.java","position":32,"original_position":32,"commit_id":"bde0f9a6e24404fcb7587669590b3da5edbcfaa4","original_commit_id":"0a17c8b0a63b8f76c106d96939556e74e39e7f2d","user":{"login":"joelb-git","id":2745742,"avatar_url":"https://avatars.githubusercontent.com/u/2745742?v=3","gravatar_id":"","url":"https://api.github.com/users/joelb-git","html_url":"https://github.com/joelb-git","followers_url":"https://api.github.com/users/joelb-git/followers","following_url":"https://api.github.com/users/joelb-git/following{/other_user}","gists_url":"https://api.github.com/users/joelb-git/gists{/gist_id}","starred_url":"https://api.github.com/users/joelb-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelb-git/subscriptions","organizations_url":"https://api.github.com/users/joelb-git/orgs","repos_url":"https://api.github.com/users/joelb-git/repos","events_url":"https://api.github.com/users/joelb-git/events{/privacy}","received_events_url":"https://api.github.com/users/joelb-git/received_events","type":"User","site_admin":false},"body":"So, you've defined the current version to be 1.1.0.  That's the only version there\r\never was, so you are declaring json without a version to be version 1.0.0, just\r\nto give it a name.  Correct?","created_at":"2016-03-16T14:23:44Z","updated_at":"2016-03-16T14:23:44Z","html_url":"https://github.com/basis-technology-corp/annotated-data-model/pull/3#discussion_r56341392","pull_request_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/comments/56341392"},"html":{"href":"https://github.com/basis-technology-corp/annotated-data-model/pull/3#discussion_r56341392"},"pull_request":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3","id":60339960,"html_url":"https://github.com/basis-technology-corp/annotated-data-model/pull/3","diff_url":"https://github.com/basis-technology-corp/annotated-data-model/pull/3.diff","patch_url":"https://github.com/basis-technology-corp/annotated-data-model/pull/3.patch","issue_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/issues/3","number":3,"state":"open","locked":false,"title":"Ros-50,  ros-43: versions, entities","user":{"login":"benson-basis","id":3358159,"avatar_url":"https://avatars.githubusercontent.com/u/3358159?v=3","gravatar_id":"","url":"https://api.github.com/users/benson-basis","html_url":"https://github.com/benson-basis","followers_url":"https://api.github.com/users/benson-basis/followers","following_url":"https://api.github.com/users/benson-basis/following{/other_user}","gists_url":"https://api.github.com/users/benson-basis/gists{/gist_id}","starred_url":"https://api.github.com/users/benson-basis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benson-basis/subscriptions","organizations_url":"https://api.github.com/users/benson-basis/orgs","repos_url":"https://api.github.com/users/benson-basis/repos","events_url":"https://api.github.com/users/benson-basis/events{/privacy}","received_events_url":"https://api.github.com/users/benson-basis/received_events","type":"User","site_admin":false},"body":"* Not nearly ready to merge*","created_at":"2016-02-23T13:34:45Z","updated_at":"2016-03-16T14:23:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd74f564eb86eb6cd03b1f3137d859b948fd2760","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3/commits","review_comments_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3/comments","review_comment_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/issues/3/comments","statuses_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/statuses/bde0f9a6e24404fcb7587669590b3da5edbcfaa4","head":{"label":"benson-basis:ros-50-ros-43-versions-entities","ref":"ros-50-ros-43-versions-entities","sha":"bde0f9a6e24404fcb7587669590b3da5edbcfaa4","user":{"login":"benson-basis","id":3358159,"avatar_url":"https://avatars.githubusercontent.com/u/3358159?v=3","gravatar_id":"","url":"https://api.github.com/users/benson-basis","html_url":"https://github.com/benson-basis","followers_url":"https://api.github.com/users/benson-basis/followers","following_url":"https://api.github.com/users/benson-basis/following{/other_user}","gists_url":"https://api.github.com/users/benson-basis/gists{/gist_id}","starred_url":"https://api.github.com/users/benson-basis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benson-basis/subscriptions","organizations_url":"https://api.github.com/users/benson-basis/orgs","repos_url":"https://api.github.com/users/benson-basis/repos","events_url":"https://api.github.com/users/benson-basis/events{/privacy}","received_events_url":"https://api.github.com/users/benson-basis/received_events","type":"User","site_admin":false},"repo":{"id":51152722,"name":"annotated-data-model","full_name":"benson-basis/annotated-data-model","owner":{"login":"benson-basis","id":3358159,"avatar_url":"https://avatars.githubusercontent.com/u/3358159?v=3","gravatar_id":"","url":"https://api.github.com/users/benson-basis","html_url":"https://github.com/benson-basis","followers_url":"https://api.github.com/users/benson-basis/followers","following_url":"https://api.github.com/users/benson-basis/following{/other_user}","gists_url":"https://api.github.com/users/benson-basis/gists{/gist_id}","starred_url":"https://api.github.com/users/benson-basis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benson-basis/subscriptions","organizations_url":"https://api.github.com/users/benson-basis/orgs","repos_url":"https://api.github.com/users/benson-basis/repos","events_url":"https://api.github.com/users/benson-basis/events{/privacy}","received_events_url":"https://api.github.com/users/benson-basis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benson-basis/annotated-data-model","description":"A data model for text and NLP annotations.","fork":true,"url":"https://api.github.com/repos/benson-basis/annotated-data-model","forks_url":"https://api.github.com/repos/benson-basis/annotated-data-model/forks","keys_url":"https://api.github.com/repos/benson-basis/annotated-data-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benson-basis/annotated-data-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benson-basis/annotated-data-model/teams","hooks_url":"https://api.github.com/repos/benson-basis/annotated-data-model/hooks","issue_events_url":"https://api.github.com/repos/benson-basis/annotated-data-model/issues/events{/number}","events_url":"https://api.github.com/repos/benson-basis/annotated-data-model/events","assignees_url":"https://api.github.com/repos/benson-basis/annotated-data-model/assignees{/user}","branches_url":"https://api.github.com/repos/benson-basis/annotated-data-model/branches{/branch}","tags_url":"https://api.github.com/repos/benson-basis/annotated-data-model/tags","blobs_url":"https://api.github.com/repos/benson-basis/annotated-data-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benson-basis/annotated-data-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benson-basis/annotated-data-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/benson-basis/annotated-data-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benson-basis/annotated-data-model/statuses/{sha}","languages_url":"https://api.github.com/repos/benson-basis/annotated-data-model/languages","stargazers_url":"https://api.github.com/repos/benson-basis/annotated-data-model/stargazers","contributors_url":"https://api.github.com/repos/benson-basis/annotated-data-model/contributors","subscribers_url":"https://api.github.com/repos/benson-basis/annotated-data-model/subscribers","subscription_url":"https://api.github.com/repos/benson-basis/annotated-data-model/subscription","commits_url":"https://api.github.com/repos/benson-basis/annotated-data-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/benson-basis/annotated-data-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/benson-basis/annotated-data-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/benson-basis/annotated-data-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/benson-basis/annotated-data-model/contents/{+path}","compare_url":"https://api.github.com/repos/benson-basis/annotated-data-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benson-basis/annotated-data-model/merges","archive_url":"https://api.github.com/repos/benson-basis/annotated-data-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benson-basis/annotated-data-model/downloads","issues_url":"https://api.github.com/repos/benson-basis/annotated-data-model/issues{/number}","pulls_url":"https://api.github.com/repos/benson-basis/annotated-data-model/pulls{/number}","milestones_url":"https://api.github.com/repos/benson-basis/annotated-data-model/milestones{/number}","notifications_url":"https://api.github.com/repos/benson-basis/annotated-data-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benson-basis/annotated-data-model/labels{/name}","releases_url":"https://api.github.com/repos/benson-basis/annotated-data-model/releases{/id}","deployments_url":"https://api.github.com/repos/benson-basis/annotated-data-model/deployments","created_at":"2016-02-05T14:55:11Z","updated_at":"2016-02-05T14:55:12Z","pushed_at":"2016-03-15T17:08:33Z","git_url":"git://github.com/benson-basis/annotated-data-model.git","ssh_url":"git@github.com:benson-basis/annotated-data-model.git","clone_url":"https://github.com/benson-basis/annotated-data-model.git","svn_url":"https://github.com/benson-basis/annotated-data-model","homepage":null,"size":1032,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"basis-technology-corp:master","ref":"master","sha":"e3c3b394232d7a42cd713e984940c76ad66a9e3a","user":{"login":"basis-technology-corp","id":523432,"avatar_url":"https://avatars.githubusercontent.com/u/523432?v=3","gravatar_id":"","url":"https://api.github.com/users/basis-technology-corp","html_url":"https://github.com/basis-technology-corp","followers_url":"https://api.github.com/users/basis-technology-corp/followers","following_url":"https://api.github.com/users/basis-technology-corp/following{/other_user}","gists_url":"https://api.github.com/users/basis-technology-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/basis-technology-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basis-technology-corp/subscriptions","organizations_url":"https://api.github.com/users/basis-technology-corp/orgs","repos_url":"https://api.github.com/users/basis-technology-corp/repos","events_url":"https://api.github.com/users/basis-technology-corp/events{/privacy}","received_events_url":"https://api.github.com/users/basis-technology-corp/received_events","type":"Organization","site_admin":false},"repo":{"id":50950973,"name":"annotated-data-model","full_name":"basis-technology-corp/annotated-data-model","owner":{"login":"basis-technology-corp","id":523432,"avatar_url":"https://avatars.githubusercontent.com/u/523432?v=3","gravatar_id":"","url":"https://api.github.com/users/basis-technology-corp","html_url":"https://github.com/basis-technology-corp","followers_url":"https://api.github.com/users/basis-technology-corp/followers","following_url":"https://api.github.com/users/basis-technology-corp/following{/other_user}","gists_url":"https://api.github.com/users/basis-technology-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/basis-technology-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basis-technology-corp/subscriptions","organizations_url":"https://api.github.com/users/basis-technology-corp/orgs","repos_url":"https://api.github.com/users/basis-technology-corp/repos","events_url":"https://api.github.com/users/basis-technology-corp/events{/privacy}","received_events_url":"https://api.github.com/users/basis-technology-corp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basis-technology-corp/annotated-data-model","description":"A data model for text and NLP annotations.","fork":false,"url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model","forks_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/forks","keys_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/teams","hooks_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/hooks","issue_events_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/issues/events{/number}","events_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/events","assignees_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/assignees{/user}","branches_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/branches{/branch}","tags_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/tags","blobs_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/statuses/{sha}","languages_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/languages","stargazers_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/stargazers","contributors_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/contributors","subscribers_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/subscribers","subscription_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/subscription","commits_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/contents/{+path}","compare_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/merges","archive_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/downloads","issues_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/issues{/number}","pulls_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls{/number}","milestones_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/milestones{/number}","notifications_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/labels{/name}","releases_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/releases{/id}","deployments_url":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/deployments","created_at":"2016-02-02T20:50:58Z","updated_at":"2016-03-08T15:26:15Z","pushed_at":"2016-03-15T17:08:34Z","git_url":"git://github.com/basis-technology-corp/annotated-data-model.git","ssh_url":"git@github.com:basis-technology-corp/annotated-data-model.git","clone_url":"https://github.com/basis-technology-corp/annotated-data-model.git","svn_url":"https://github.com/basis-technology-corp/annotated-data-model","homepage":null,"size":980,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3"},"html":{"href":"https://github.com/basis-technology-corp/annotated-data-model/pull/3"},"issue":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/issues/3"},"comments":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/basis-technology-corp/annotated-data-model/statuses/bde0f9a6e24404fcb7587669590b3da5edbcfaa4"}}}}