{"action":"created","issue":{"url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/52","labels_url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/52/comments","events_url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/52/events","html_url":"https://github.com/pateketrueke/json-schema-faker/issues/52","id":92095640,"number":52,"title":"Reference not found with $schema","user":{"login":"omerts","id":4996164,"avatar_url":"https://avatars.githubusercontent.com/u/4996164?v=3","gravatar_id":"","url":"https://api.github.com/users/omerts","html_url":"https://github.com/omerts","followers_url":"https://api.github.com/users/omerts/followers","following_url":"https://api.github.com/users/omerts/following{/other_user}","gists_url":"https://api.github.com/users/omerts/gists{/gist_id}","starred_url":"https://api.github.com/users/omerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerts/subscriptions","organizations_url":"https://api.github.com/users/omerts/orgs","repos_url":"https://api.github.com/users/omerts/repos","events_url":"https://api.github.com/users/omerts/events{/privacy}","received_events_url":"https://api.github.com/users/omerts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-30T13:32:11Z","updated_at":"2015-07-02T10:02:47Z","closed_at":null,"body":"Hello,\r\n\r\nIf I use a ref inside my json schema, I get a \"Reference not found: http://json-schema.org/draft-04/id#\" error for the $schema def. \r\nThe schema:\r\n```json\r\n{ \"$schema\": \"http://json-schema.org/draft-04/schema#\",\r\n  \"type\": \"array\",\r\n  \"items\": \r\n   { \"type\": \"object\",\r\n     \"properties\": \r\n      { \"id\": { \"$ref\": \"id\" },\r\n        \"name\": { \"$ref\": \"name\" },\r\n        \"description\": { \"$ref\": \"description\"  } },\r\n    \"required\": [ \"id\", \"name\", \"description\" ] } }\r\n```\r\n\r\nRemoving the $schema key, or remove the $refs, works, but I want to be able to keep both.\r\n\r\nThanks,\r\nOmer\r\n"},"comment":{"url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/comments/117987193","html_url":"https://github.com/pateketrueke/json-schema-faker/issues/52#issuecomment-117987193","issue_url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/52","id":117987193,"user":{"login":"omerts","id":4996164,"avatar_url":"https://avatars.githubusercontent.com/u/4996164?v=3","gravatar_id":"","url":"https://api.github.com/users/omerts","html_url":"https://github.com/omerts","followers_url":"https://api.github.com/users/omerts/followers","following_url":"https://api.github.com/users/omerts/following{/other_user}","gists_url":"https://api.github.com/users/omerts/gists{/gist_id}","starred_url":"https://api.github.com/users/omerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerts/subscriptions","organizations_url":"https://api.github.com/users/omerts/orgs","repos_url":"https://api.github.com/users/omerts/repos","events_url":"https://api.github.com/users/omerts/events{/privacy}","received_events_url":"https://api.github.com/users/omerts/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T10:02:47Z","updated_at":"2015-07-02T10:02:47Z","body":"I did, sorry for not closing. Thank you @pateketrueke :)"}}