flowchart LR
Statement(["xAPI Statement"]):::root
Actor["Actor
Who?"]:::required
Verb["Verb
Did what?"]:::required
Object["Object
To what?"]:::required
Result["Result"]:::optional
Context["Context"]:::optional
Timestamp["Timestamp"]:::optional
Authority["Authority"]:::optional
Statement ==> Actor
Statement ==> Verb
Statement ==> Object
Statement -.-> Result
Statement -.-> Context
Statement -.-> Timestamp
Statement -.-> Authority
click Statement call showStatementPart("Statement")
click Actor call showStatementPart("Actor")
click Verb call showStatementPart("Verb")
click Object call showStatementPart("Object")
click Result call showStatementPart("Result")
click Context call showStatementPart("Context")
click Timestamp call showStatementPart("Timestamp")
click Authority call showStatementPart("Authority")
classDef root fill:#1e293b,stroke:#0f172a,color:#fff,font-size:16px,font-weight:bold
classDef required fill:#4338ca,stroke:#312e81,color:#fff,font-size:16px,font-weight:bold
classDef optional fill:#0d9488,stroke:#134e4a,color:#fff,font-size:16px
linkStyle default stroke:#64748b,stroke-width:2px,font-size:14px