# xapiResult

Outcomes or achievements from the action.

### success

* **Flow resource path:** statementData > xapiResult > succcess
* **Parameter type:** Boolean
* **Description:** Indicates whether the action described in the xAPI statement was successfully completed (true) or not (false).

#### Example

```
"result": {
  "success": true,
  "completion": "",
  "response": "",
  "duration": "",
  "score": {}
}
```

### completion

* **Flow resource path:** statementData > xapiResult > completion
* **Parameter type:** Boolean
* **Description:** Indicates whether the activity was completed by the learner.

#### Example

```
"result": {
  "success": "",
  "completion": true,
  "response": "",
  "duration": "",
  "score": {}
}
```

### response

* **Flow resource path:** statementData > xapiResult > response
* **Parameter type:** String text
* **Description:** The learner's response or answer recorded during the activity.

#### Example

```
"result": {
  "success": "",
  "completion": "",
  "response": "We agreed on some example actions.",
  "duration": "",
  "score": {}
}
```

### duration

* **Flow resource path:** statementData > xapiResult > duration
* **Parameter type:** String text
* **Description:** The time duration for which the learner engaged with the activity, typically in ISO 8601 format.

#### Example

```
"result": {
  "success": "",
  "completion": "",
  "response": "",
  "duration": "PT1H0M0S",
  "score": {}
}
```

### score.scaled

* **Flow resource path:** statementData > xapiResult > score > scaled
* **Parameter type:** Number
* **Description:** The scaled score achieved by the learner, normalized between 0 and 1.

#### Example

```
"result": {
  "success": "",
  "completion": "",
  "response": "",
  "duration": "",
  "score": {
    "scaled": 0.5,
    "raw": "",
    "min": "",
    "max": ""
  }
}
```

### score.raw

* **Flow resource path:** statementData > xapiResult > score > raw
* **Parameter type:** Number
* **Description:** The raw, unadjusted score obtained by the learner in the activity.

#### Example

```
"result": {
  "success": "",
  "completion": "",
  "response": "",
  "duration": "",
  "score": {
    "scaled": "",
    "raw": 55,
    "min": "",
    "max": ""
  }
}
```

### score.min

* **Flow resource path:** statementData > xapiResult > score > min
* **Parameter type:** Number
* **Description:** The minimum possible score for the activity.

#### Example

```
"result": {
  "success": "",
  "completion": "",
  "response": "",
  "duration": "",
  "score": {
    "scaled": "",
    "raw": "",
    "min": 1,
    "max": ""
  }
}
```

### score.max

* **Flow resource path:** statementData > xapiResult > score > max
* **Parameter type:** Number
* **Description:** The maximum possible score for the activity.

#### Example

```
"result": {
  "success": "",
  "completion": "",
  "response": "",
  "duration": "",
  "score": {
    "scaled": "",
    "raw": "",
    "min": "",
    "max": 100
  }
}
```
