{"action":"opened","issue":{"url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/18","labels_url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/18/comments","events_url":"https://api.github.com/repos/pateketrueke/json-schema-faker/issues/18/events","html_url":"https://github.com/pateketrueke/json-schema-faker/issues/18","id":73636953,"number":18,"title":"extending specs allowing to extend dependencies","user":{"login":"tkoomzaaskz","id":375027,"avatar_url":"https://avatars.githubusercontent.com/u/375027?v=3","gravatar_id":"","url":"https://api.github.com/users/tkoomzaaskz","html_url":"https://github.com/tkoomzaaskz","followers_url":"https://api.github.com/users/tkoomzaaskz/followers","following_url":"https://api.github.com/users/tkoomzaaskz/following{/other_user}","gists_url":"https://api.github.com/users/tkoomzaaskz/gists{/gist_id}","starred_url":"https://api.github.com/users/tkoomzaaskz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkoomzaaskz/subscriptions","organizations_url":"https://api.github.com/users/tkoomzaaskz/orgs","repos_url":"https://api.github.com/users/tkoomzaaskz/repos","events_url":"https://api.github.com/users/tkoomzaaskz/events{/privacy}","received_events_url":"https://api.github.com/users/tkoomzaaskz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-06T14:21:52Z","updated_at":"2015-05-06T14:21:52Z","closed_at":null,"body":"I've seen that the specs are defined through json files, containing test-definitions, e.g.\r\n\r\n```json\r\n      {\r\n        \"description\": \"should handle format (faker)\",\r\n        \"schema\": {\r\n          \"type\": \"object\",\r\n          \"properties\": {\r\n            \"name\": {\r\n              \"type\": \"string\",\r\n              \"faker\": \"name.findName\"\r\n            },\r\n            \"email\": {\r\n              \"type\": \"string\",\r\n              \"faker\": \"internet.email\"\r\n            }\r\n          },\r\n          \"required\": [\"name\", \"email\"]\r\n        },\r\n        \"valid\": true\r\n      },\r\n```\r\n\r\nIt is very self-descriptive, but it inherits flaws of JSON: it cannot include functions. And if I want to add a function to extend faker/chance (see #12), I have to do something else..."}}