{"action":"created","issue":{"url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/67","labels_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/67/comments","events_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/67/events","html_url":"https://github.com/json-schema-faker/json-schema-faker/issues/67","id":104212970,"number":67,"title":"[discussion] [help needed] freeze property values","user":{"login":"hellboy81","id":341600,"avatar_url":"https://avatars.githubusercontent.com/u/341600?v=3","gravatar_id":"","url":"https://api.github.com/users/hellboy81","html_url":"https://github.com/hellboy81","followers_url":"https://api.github.com/users/hellboy81/followers","following_url":"https://api.github.com/users/hellboy81/following{/other_user}","gists_url":"https://api.github.com/users/hellboy81/gists{/gist_id}","starred_url":"https://api.github.com/users/hellboy81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellboy81/subscriptions","organizations_url":"https://api.github.com/users/hellboy81/orgs","repos_url":"https://api.github.com/users/hellboy81/repos","events_url":"https://api.github.com/users/hellboy81/events{/privacy}","received_events_url":"https://api.github.com/users/hellboy81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T08:18:59Z","updated_at":"2015-09-01T08:25:01Z","closed_at":null,"body":"Is there possible to freeze property value in item schema?\r\n\r\n```js\r\n// type paramter is optional\r\n// If no type specified  - random value should be generated (0 or 1)\r\n// If type specified -  {'type': type} should be returned\r\nmodule.exports.mongoItem = function(type) {\r\n    var itemSchema = { \r\n           type: {\r\n                type: 'integer',\r\n                enum: [0, 1] // \r\n            },\r\n            required: ['type']\r\n    }\r\n   return jsf(itemSchema)\r\n```"},"comment":{"url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/comments/136634623","html_url":"https://github.com/json-schema-faker/json-schema-faker/issues/67#issuecomment-136634623","issue_url":"https://api.github.com/repos/json-schema-faker/json-schema-faker/issues/67","id":136634623,"user":{"login":"ducin","id":375027,"avatar_url":"https://avatars.githubusercontent.com/u/375027?v=3","gravatar_id":"","url":"https://api.github.com/users/ducin","html_url":"https://github.com/ducin","followers_url":"https://api.github.com/users/ducin/followers","following_url":"https://api.github.com/users/ducin/following{/other_user}","gists_url":"https://api.github.com/users/ducin/gists{/gist_id}","starred_url":"https://api.github.com/users/ducin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducin/subscriptions","organizations_url":"https://api.github.com/users/ducin/orgs","repos_url":"https://api.github.com/users/ducin/repos","events_url":"https://api.github.com/users/ducin/events{/privacy}","received_events_url":"https://api.github.com/users/ducin/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T08:25:01Z","updated_at":"2015-09-01T08:25:01Z","body":"@hellboy81 sorry, I can't understand what you need. Can you write it more precisely?"}}