Skip to content

Instantly share code, notes, and snippets.

@jrissler
Created August 10, 2018 19:14
Show Gist options
  • Save jrissler/d308d5a78049151dc5ffa296f9a7d5fa to your computer and use it in GitHub Desktop.
Save jrissler/d308d5a78049151dc5ffa296f9a7d5fa to your computer and use it in GitHub Desktop.
{
"sensor":"https://example.edu/sensor/001",
"sendTime":"2018-08-10T19:02:53.296Z",
"data":[
{
"@context":"http://purl.imsglobal.org/ctx/caliper/v1p1",
"id":"urn:uuid:fc5fdc6d-5dd6-47f4-b2c9-5d1216e9b771",
"type":"ToolUseEvent",
"action":"Used",
"eventTime":"2018-08-10T19:02:53.211Z",
"edApp":"https://platform.example.org",
"actor":{
"id":"https://example.com/tools/1/users/a6d5c443-1f51-4783-ba1a-7686ffe3b54a",
"type":"Person"
},
"object":{
"id":"https://example.com/tools/1",
"type":"SoftwareApplication"
},
"federatedSession":{
"id":"https://example.com/tools/1/sessions/4ff6e5b8f7d76dde25ef",
"type":"LtiSession",
"messageParameters":{
"iss":"https://platform.example.org",
"sub":"a6d5c443-1f51-4783-ba1a-7686ffe3b54a",
"aud":[
"962fa4d8-bcbf-49a0-94b2-2de05ad274af"
],
"exp":1510185728,
"iat":1510185228,
"azp":"962fa4d8-bcbf-49a0-94b2-2de05ad274af",
"nonce":"fc5fdc6d-5dd6-47f4-b2c9-5d1216e9b771",
"name":"Ms Jane Marie Doe",
"given_name":"Jane",
"family_name":"Doe",
"middle_name":"Marie",
"picture":"http://example.org/jane.jpg",
"email":"jane@example.org",
"locale":"en-US",
"http://imsglobal.org/lti/deployment_id":"07940580-b309-415e-a37c-914d387c1150",
"http://imsglobal.org/lti/message_type":"LtiResourceLinkRequest",
"http://imsglobal.org/lti/version":"1.3.0",
"http://imsglobal.org/lti/roles":[
"http://purl.imsglobal.org/vocab/lis/v2/institution/person#Student",
"http://purl.imsglobal.org/vocab/lis/v2/membership#Learner",
"http://purl.imsglobal.org/vocab/lis/v2/membership#Mentor"
],
"http://imsglobal.org/lti/role_scope_mentor":[
"http://purl.imsglobal.org/vocab/lis/v2/institution/person#Administrator"
],
"http://imsglobal.org/lti/context":{
"id":"c1d887f0-a1a3-4bca-ae25-c375edcc131a",
"label":"ECON 1010",
"title":"Economics as a Social Science",
"type":[
"CourseOffering"
]
},
"http://imsglobal.org/lti/resource_link":{
"id":"200d101f-2c14-434a-a0f3-57c2a42369fd",
"description":"Assignment to introduce who you are",
"title":"Introduction Assignment"
},
"http://imsglobal.org/lti/tool_platform":{
"contact_email":"support@example.org",
"description":"An Example Tool Platform",
"name":"Example Tool Platform",
"url":"http://example.org",
"product_family_code":"example.org",
"version":"1.0"
},
"https://purl.imsglobal.org/spec/lti/claim/launch_presentation":{
"document_target":"iframe",
"height":320,
"width":240,
"return_url":"http://example.org/return"
},
"http://imsglobal.org/lti/custom":{
"myCustomValue":"123"
},
"https://www.example.com/extension":{
"color":"violet"
},
"https://purl.imsglobal.org/spec/lti-dl/claim/deep_linking_settings":{
"deep_link_return_url":"https://platform.example/deep_links",
"accept_types":[
"link",
"file",
"html",
"ltiLink",
"image"
],
"accept_media_types":"image/*,text/html",
"accept_presentation_document_targets":[
"iframe",
"window",
"embed"
],
"accept_multiple":true,
"auto_create":true,
"title":"This is the default title",
"text":"This is the default text",
"data":"csrftoken:c7fbba78-7b75-46e3-9201-11e6d5f36f53"
},
"https://purl.imsglobal.org/spec/lti-ces/claim/caliper-endpoint-service":{
"scopes":[
"https://purl.imsglobal.org/spec/lti-ces/v1p0/scope/send"
],
"caliper_endpoint_url":"http://localhost:3001/platforms/1/sensors",
"caliper_federated_session_id":"urn:uuid:4ff6e5b8f7d76dde25ef"
}
},
"dateCreated":"2018-08-10T19:02:53.207Z",
"startedAtTime":"2018-08-10T19:02:53.211Z"
},
"session":{
"id":"https://example.com/tools/1/sessions/e6e96e99-a4cc-4723-9953-f19452c22060",
"type":"Session",
"startedAtTime":"2018-08-10T19:02:53.207Z"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment