{"action":"closed","issue":{"url":"https://api.github.com/repos/FasterXML/jackson-module-jsonSchema/issues/51","labels_url":"https://api.github.com/repos/FasterXML/jackson-module-jsonSchema/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/FasterXML/jackson-module-jsonSchema/issues/51/comments","events_url":"https://api.github.com/repos/FasterXML/jackson-module-jsonSchema/issues/51/events","html_url":"https://github.com/FasterXML/jackson-module-jsonSchema/issues/51","id":50026630,"number":51,"title":"schema reference not compatible with tv4","user":{"login":"Vad1mo","id":1492007,"avatar_url":"https://avatars.githubusercontent.com/u/1492007?v=3","gravatar_id":"","url":"https://api.github.com/users/Vad1mo","html_url":"https://github.com/Vad1mo","followers_url":"https://api.github.com/users/Vad1mo/followers","following_url":"https://api.github.com/users/Vad1mo/following{/other_user}","gists_url":"https://api.github.com/users/Vad1mo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vad1mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vad1mo/subscriptions","organizations_url":"https://api.github.com/users/Vad1mo/orgs","repos_url":"https://api.github.com/users/Vad1mo/repos","events_url":"https://api.github.com/users/Vad1mo/events{/privacy}","received_events_url":"https://api.github.com/users/Vad1mo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-25T13:37:03Z","updated_at":"2015-04-28T02:45:46Z","closed_at":"2015-04-28T02:45:46Z","body":"jackson-module-jsonSchema is generating a json schema like this \r\n```\r\n  \"delivery\":{  \r\n               \"type\":\"object\",\r\n               \"id\":\"urn:jsonschema:io:konik:zugferd:entity:trade:Delivery\",\r\n               \"properties\":{  \r\n                  \"shipFrom\":{  \r\n                     \"type\":\"object\",\r\n                     \"$ref\":\"urn:jsonschema:io:konik:zugferd:entity:TradeParty\"\r\n                  },\r\n```\r\ntv4 is trying to resolve the $ref by fetching the url remotely. When adding a # before the ids and $ref Tv4 is working fine.\r\n```\r\n  \"delivery\":{  \r\n               \"type\":\"object\",\r\n               \"id\":\"#urn:jsonschema:io:konik:zugferd:entity:trade:Delivery\",\r\n               \"properties\":{  \r\n                  \"shipFrom\":{  \r\n                     \"type\":\"object\",\r\n                     \"$ref\":\"#urn:jsonschema:io:konik:zugferd:entity:TradeParty\"\r\n                  },\r\n```\r\nWho is correct here TV4 or jackson-module-jsonSchema?"}}