{"action":"closed","issue":{"url":"https://api.github.com/repos/IMSGlobal/caliper-central/issues/80","repository_url":"https://api.github.com/repos/IMSGlobal/caliper-central","labels_url":"https://api.github.com/repos/IMSGlobal/caliper-central/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/IMSGlobal/caliper-central/issues/80/comments","events_url":"https://api.github.com/repos/IMSGlobal/caliper-central/issues/80/events","html_url":"https://github.com/IMSGlobal/caliper-central/issues/80","id":188354798,"node_id":"MDU6SXNzdWUxODgzNTQ3OTg=","number":80,"title":"Consider changing Event.generated from object to array","user":{"login":"arwhyte","id":83268,"node_id":"MDQ6VXNlcjgzMjY4","avatar_url":"https://avatars0.githubusercontent.com/u/83268?v=4","gravatar_id":"","url":"https://api.github.com/users/arwhyte","html_url":"https://github.com/arwhyte","followers_url":"https://api.github.com/users/arwhyte/followers","following_url":"https://api.github.com/users/arwhyte/following{/other_user}","gists_url":"https://api.github.com/users/arwhyte/gists{/gist_id}","starred_url":"https://api.github.com/users/arwhyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arwhyte/subscriptions","organizations_url":"https://api.github.com/users/arwhyte/orgs","repos_url":"https://api.github.com/users/arwhyte/repos","events_url":"https://api.github.com/users/arwhyte/events{/privacy}","received_events_url":"https://api.github.com/users/arwhyte/received_events","type":"User","site_admin":false},"labels":[{"id":349354186,"node_id":"MDU6TGFiZWwzNDkzNTQxODY=","url":"https://api.github.com/repos/IMSGlobal/caliper-central/labels/Cert%20Suite","name":"Cert Suite","color":"0099ff","default":false},{"id":356278272,"node_id":"MDU6TGFiZWwzNTYyNzgyNzI=","url":"https://api.github.com/repos/IMSGlobal/caliper-central/labels/Context","name":"Context","color":"c2e0c6","default":false},{"id":349353332,"node_id":"MDU6TGFiZWwzNDkzNTMzMzI=","url":"https://api.github.com/repos/IMSGlobal/caliper-central/labels/Documentation","name":"Documentation","color":"009933","default":false},{"id":352588292,"node_id":"MDU6TGFiZWwzNTI1ODgyOTI=","url":"https://api.github.com/repos/IMSGlobal/caliper-central/labels/Endpoint","name":"Endpoint","color":"e99695","default":false},{"id":349490505,"node_id":"MDU6TGFiZWwzNDk0OTA1MDU=","url":"https://api.github.com/repos/IMSGlobal/caliper-central/labels/Fixtures","name":"Fixtures","color":"F5DEB3","default":false},{"id":314211245,"node_id":"MDU6TGFiZWwzMTQyMTEyNDU=","url":"https://api.github.com/repos/IMSGlobal/caliper-central/labels/Proposal","name":"Proposal","color":"000000","default":false},{"id":349352605,"node_id":"MDU6TGFiZWwzNDkzNTI2MDU=","url":"https://api.github.com/repos/IMSGlobal/caliper-central/labels/Sensors","name":"Sensors","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-09T21:17:43Z","updated_at":"2018-06-26T20:50:18Z","closed_at":"2018-06-26T20:50:18Z","author_association":"CONTRIBUTOR","body":"This is a placeholder for further discussion regarding the wisdom of considering a change in the data type of `Event.generated` from an object to an array. The idea here is to accommodate an outcomes scenario in which a result (in a general sense) might include not simply the recording of a score but also the attainment of some level of mastery with respect to a competency or the issuance of a micro-credential, etc.  Now it remains true that a platform could emit more than one event (e.g., Event1: `Agent` graded `Attempt` and generated a `Result`, Event2: `Person` demonstrated Evidence or earned/is awarded a Competency . . .).  Now `Result` could be provisioned with an optional object property that references a Competency earned or some other evidence indicator.  That might be the way to proceed (e.g., issue more than one `Event`) since it requires no change to the `Event` model's `generated` type.  But an efficiency gain might be had by converting `Event.generated` to an array as in:\r\n\r\n```\r\n{\r\n    \"generated\": [\r\n        {\r\n            \"id\": \"http://example.org/results/123\",\r\n            \"type\": \"Result\",\r\n            \"score\": \"95\"\r\n            . . .\r\n        },\r\n        {\r\n            \"id\": \"http://example.org/competencies/1\",\r\n            \"type\": \"Competency\",\r\n            \"masteryLevel\": \"Expert\"\r\n            . . .\r\n        }\r\n    ]\r\n}\r\n```"}}
{"actor":{"display_login":"mgylling"}}