Get Started. It's Free
or sign up with your email address
xAPI Statement by Mind Map: xAPI Statement

1. "result" { };

1.1. "completion": true/false

1.2. "success": true/false

1.3. "response": "saved as a string"

1.4. "duration": iso time gibberish

1.5. "scored": { }

1.5.1. "raw": 100

1.5.2. "min": 0

1.5.3. "max": 100

1.5.4. "scaled": -1 to 1

1.6. "extensions": { any JSON value/data }

2. "context" { };

2.1. "registration": "uuid"

2.2. "instructor": { agent object }

2.3. "team": { group object }

2.4. "platform": "social media platform"

2.5. "statement": { }

2.5.1. "objectType": "StatementRef"

2.5.2. "id": "uuid"

3. "authority"

3.1. set by LRS if not generated by LRP

4. "stored"

4.1. set by LRS

5. use of JSON intended to be helpful for those bent on generating their own xAPI statements. They are, however, not exhaustive and you should always refer to the official spec when in doubt.

6. REQUIRED

7. Optional

8. "id"

8.1. set by LRS if not generated by LRP

9. Recommended

10. Set by LRS

11. descriptive labels

12. only *1* IFI

12.1. "mbox": "mailto:[email protected]"

12.2. "mbox_sha1sum": "gibberish"

12.3. "openid": "yourOpenID"

12.4. "account": { "homepage": "homepage.com" "account": "AccountName" }

13. "actor"{ };

13.1. group

13.1.1. Anonymous

13.1.1.1. "objectType": "Group"

13.1.1.2. "member": "array, of, agent, objects"

13.1.1.3. "name": "Group Name"

13.1.2. Identified

13.1.2.1. "objectType": "Group"

13.1.2.2. IFI

13.1.2.3. "name": "Group Name"

13.1.2.4. "member": "array, of, agent, objects"

13.2. agent

13.2.1. IFI

13.2.2. "objectType": "agent"

13.2.3. "name": "User Name"

14. "verb" { };

14.1. "id": "https://registry.tincanapi.com/"

14.2. "display": { "en-US": "verbiage" }

15. "object" { };

15.1. statement reference

15.1.1. "objectType": "StatementRef"

15.1.2. "id": "uuid gibberish"

15.2. activity

15.2.1. "id": "http://some.iri/activity"

15.2.2. "objectType": "Activity"

15.2.3. "definition": { }

15.2.3.1. "name": { "en-US": "visual/human readable name of activity" }

15.2.3.2. "description": { "en-US": "description of activity" }

15.2.3.3. "type": "https://registry.tincanapi.com/#"

15.2.3.4. "moreInfo": "http://some.iri/moreInfo.html"

15.2.3.5. "extensions": { }

15.2.3.5.1. rabbit hole...

15.2.3.6. "interactionType":

15.2.3.6.1. "true-false", "choice", "likert", "sequencing", "choice", "fill-in", "long-fill-in", "performance", "numeric", "matching", "other"

15.2.3.6.2. correctResponsesPattern: [ "1", "2", "3" ]

15.2.3.6.3. "choices", "scale", "steps", ["source", "target"]

15.3. agent

15.3.1. IFI

15.3.2. "objectType": "agent"

15.3.3. "name": "User Name"

15.4. SubStatements

15.4.1. danger... recursion imminent

16. "timestamp": iso time gibberish

17. "attachments"