{"action":"created","issue":{"url":"https://api.github.com/repos/cantino/huginn/issues/1458","repository_url":"https://api.github.com/repos/cantino/huginn","labels_url":"https://api.github.com/repos/cantino/huginn/issues/1458/labels{/name}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/1458/comments","events_url":"https://api.github.com/repos/cantino/huginn/issues/1458/events","html_url":"https://github.com/cantino/huginn/issues/1458","id":151607351,"number":1458,"title":"Adding \"domain\" or \"data type\" as source in agent","user":{"login":"beeksiwaais","id":181389,"avatar_url":"https://avatars.githubusercontent.com/u/181389?v=3","gravatar_id":"","url":"https://api.github.com/users/beeksiwaais","html_url":"https://github.com/beeksiwaais","followers_url":"https://api.github.com/users/beeksiwaais/followers","following_url":"https://api.github.com/users/beeksiwaais/following{/other_user}","gists_url":"https://api.github.com/users/beeksiwaais/gists{/gist_id}","starred_url":"https://api.github.com/users/beeksiwaais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeksiwaais/subscriptions","organizations_url":"https://api.github.com/users/beeksiwaais/orgs","repos_url":"https://api.github.com/users/beeksiwaais/repos","events_url":"https://api.github.com/users/beeksiwaais/events{/privacy}","received_events_url":"https://api.github.com/users/beeksiwaais/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T10:44:42Z","updated_at":"2016-04-29T02:02:07Z","closed_at":"2016-04-28T15:11:35Z","body":"We have to connect manually agents together in \"sources\" fields when we define a agent. We could instead add a more abstract type of source \"domain\".\r\n\r\nA domain \"public transport\" could be generated by any agent generating this data type. The agent issuer should comply with a definition set by the receiving agent. An agent could then use the agent \"public_transport\" or any other agent capable of providing information on public transport. The receiver becomes more abstract and we could add many new agent emitting a \"domain\" without having to edit agents that receive the event.\r\n\r\nWe can imagine agents that are dynamically activated by a receiving agent.\r\n\r\nIt just an idea and I think it could be a nice feature to Huginn."},"comment":{"url":"https://api.github.com/repos/cantino/huginn/issues/comments/215611024","html_url":"https://github.com/cantino/huginn/issues/1458#issuecomment-215611024","issue_url":"https://api.github.com/repos/cantino/huginn/issues/1458","id":215611024,"user":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T02:02:07Z","updated_at":"2016-04-29T02:02:07Z","body":"Hey @beeksiwaais, I think this is an interesting idea.  We've talked about event schemas and namespaces in the past (like subscribing to `public_transit.*`)."}}