{"action":"created","issue":{"url":"https://api.github.com/repos/openvocab/agent/issues/6","labels_url":"https://api.github.com/repos/openvocab/agent/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/openvocab/agent/issues/6/comments","events_url":"https://api.github.com/repos/openvocab/agent/issues/6/events","html_url":"https://github.com/openvocab/agent/issues/6","id":96053222,"number":6,"title":"Why definitions using .js files?","user":{"login":"pmackay","id":115115,"avatar_url":"https://avatars.githubusercontent.com/u/115115?v=3","gravatar_id":"","url":"https://api.github.com/users/pmackay","html_url":"https://github.com/pmackay","followers_url":"https://api.github.com/users/pmackay/followers","following_url":"https://api.github.com/users/pmackay/following{/other_user}","gists_url":"https://api.github.com/users/pmackay/gists{/gist_id}","starred_url":"https://api.github.com/users/pmackay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmackay/subscriptions","organizations_url":"https://api.github.com/users/pmackay/orgs","repos_url":"https://api.github.com/users/pmackay/repos","events_url":"https://api.github.com/users/pmackay/events{/privacy}","received_events_url":"https://api.github.com/users/pmackay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-20T12:26:59Z","updated_at":"2015-09-23T15:20:06Z","closed_at":null,"body":"I'm just curious why this vocab definition is defining objects using `.js` files? What about just using JSON schema files to define simple objects?"},"comment":{"url":"https://api.github.com/repos/openvocab/agent/issues/comments/142637365","html_url":"https://github.com/openvocab/agent/issues/6#issuecomment-142637365","issue_url":"https://api.github.com/repos/openvocab/agent/issues/6","id":142637365,"user":{"login":"elf-pavlik","id":876431,"avatar_url":"https://avatars.githubusercontent.com/u/876431?v=3","gravatar_id":"","url":"https://api.github.com/users/elf-pavlik","html_url":"https://github.com/elf-pavlik","followers_url":"https://api.github.com/users/elf-pavlik/followers","following_url":"https://api.github.com/users/elf-pavlik/following{/other_user}","gists_url":"https://api.github.com/users/elf-pavlik/gists{/gist_id}","starred_url":"https://api.github.com/users/elf-pavlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elf-pavlik/subscriptions","organizations_url":"https://api.github.com/users/elf-pavlik/orgs","repos_url":"https://api.github.com/users/elf-pavlik/repos","events_url":"https://api.github.com/users/elf-pavlik/events{/privacy}","received_events_url":"https://api.github.com/users/elf-pavlik/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T15:20:06Z","updated_at":"2015-09-23T15:20:06Z","body":"@ahdinosaur does it also assume that any property can have as its value an object of certain type or array of such objects?\r\n\r\n```json\r\n{\r\n  \"name\": \"elf Pavlik\",\r\n  \"seeks\": { \"@type\": \"Demand\", \"name\": \"foo\" }\r\n}\r\n```\r\n\r\n```json\r\n{\r\n  \"name\": [ \"elf Pavlik\", \"elf-pavlik\" ],\r\n  \"seeks\": [\r\n    { \"@type\": \"Demand\", \"name\": \"foo\" },\r\n    { \"@type\": \"Demand\", \"name\": \"bar\" }\r\n  ]\r\n}\r\n```"}}