agent/measure/AC_CMUFMS_TA2_Cognitive/load
header
| Field | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| timestamp | string | ✓ | ||
| message_type | string | ✓ | event |
|
| version | string | ✓ | The message format version |
msg
| Field | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| experiment_id | string | ✓ | ||
| trial_id | string | |||
| timestamp | string | ✓ | ||
| source | string | ✓ | ||
| sub_type | string | ✓ | Event:proximity |
|
| version | string | ✓ | ||
| replay_parent_type | string|null | TRIAL REPLAY null |
||
| replay_parent_id | string|null | |||
| replay_id | string|null |
data
| Field | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| id | string | ✓ | ||
| agent | string | |||
| created | string | |||
| elapsed_milliseconds | number | ✓ | ||
| cognitive_load | object | ✓ | ||
| cognitive_load.value | number | ✓ | The value of the measure | |
| cognitive_load.confidence | number | ✓ | The confidence of the measure value | |
| probability_of_forgetting | object | ✓ | ||
| probability_of_forgetting.value | number | ✓ | The value of the measure | |
| probability_of_forgetting.confidence | number | ✓ | The confidence of the measure value |
Example message
{
"header": {
"timestamp": "2021-10-11T01:05:29.826595Z",
"message_type": "event",
"version": "1.1"
},
"msg": {
"sub_type": "Event:cognitive_load",
"version": "1.0",
"source": "AC_CMUFMS_TA2_Cognitive",
"timestamp": "2021-10-11T01:05:29.826595Z",
"experiment_id": "39decb46-72fc-4a54-9a78-7571b6011e27",
"trial_id": "3c6adbb6-ee33-4e7e-8d00-296d27a0d32a"
},
"data": {
"id": "587b797e-a0f6-4a0d-8769-877b2bd36785",
"agent": "AC_CMUFMS_TA2_Cognitive",
"created": "2022-03-10T01:03:54.022834Z",
"elapsed_milliseconds": 560236,
"cognitive_load": {
"value": 4.654498457656448,
"confidence": 0.5052246336163365
},
"probability_of_forgetting": {
"value": 0.9724250461356305,
"confidence": 0.04152453959113148
}
}
}Raw JSON Schema (resolved)
{
"$id": "http://asist.aptima.com/schemas/agent_cognitive-load.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {},
"properties": {
"data": {
"$id": "#/properties/message/properties/data",
"properties": {
"agent": {
"$id": "#/properties/source",
"default": "",
"examples": [
"simulator"
],
"pattern": "^(.*)$",
"title": "The Source Schema",
"type": "string"
},
"cognitive_load": {
"$id": "http://asist.aptima.com/schemas/agent_measure.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {},
"properties": {
"confidence": {
"$id": "#/properties/event/agent/measure/confidence",
"pattern": "^[0-9]*\\.?[0-9]+$",
"title": "The confidence of the measure value",
"type": "number"
},
"value": {
"$id": "#/properties/event/agent/measure/value",
"pattern": "^[0-9]*\\.?[0-9]+$",
"title": "The value of the measure",
"type": "number"
}
},
"required": [
"value",
"confidence"
],
"title": "The Cognitive Load Measure Schema",
"type": "object",
"version": "1.0"
},
"created": {
"$id": "#/properties/timestamp",
"default": "",
"examples": [
"2019-12-26T14:05:02.3412Z"
],
"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.]?[0-9]{0,}?Z",
"title": "The Timestamp Schema",
"type": "string"
},
"elapsed_milliseconds": {
"$id": "#/properties/event/state/elapsed_milliseconds",
"examples": [
5000,
77459,
689457
],
"pattern": "^[0-9]+$",
"title": "The Elapsed Milliseconds Schema",
"type": "number"
},
"id": {
"$id": "#/properties/id",
"default": "",
"examples": [
"123e4567-e89b-12d3-a456-426655440000"
],
"pattern": "(([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|Not Set|Null|null)",
"title": "The Cognitive Load Measure Id Schema",
"type": "string"
},
"probability_of_forgetting": {
"$id": "http://asist.aptima.com/schemas/agent_measure.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {},
"properties": {
"confidence": {
"$id": "#/properties/event/agent/measure/confidence",
"pattern": "^[0-9]*\\.?[0-9]+$",
"title": "The confidence of the measure value",
"type": "number"
},
"value": {
"$id": "#/properties/event/agent/measure/value",
"pattern": "^[0-9]*\\.?[0-9]+$",
"title": "The value of the measure",
"type": "number"
}
},
"required": [
"value",
"confidence"
],
"title": "The Cognitive Load Measure Schema",
"type": "object",
"version": "1.0"
}
},
"required": [
"id",
"elapsed_milliseconds",
"cognitive_load",
"probability_of_forgetting"
],
"title": "The Proximity update Data Schema",
"type": "object"
},
"header": {
"$id": "http://asist.aptima.com/schemas/common_header.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {},
"properties": {
"message_type": {
"$id": "#/properties/message_type",
"const": "event",
"enum": [
"control",
"observation",
"chat",
"status",
"trial",
"event",
"groundtruth",
"experiment",
"metadata",
"agent"
],
"examples": [
"observation"
],
"pattern": "^([a-z_]*?)$",
"title": "The Message_type Schema",
"type": "string"
},
"timestamp": {
"$id": "#/properties/timestamp",
"examples": [
"2019-12-26T12:47:23.1234Z"
],
"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.]?[0-9]{0,}?Z",
"title": "The Timestamp Schema",
"type": "string"
},
"version": {
"$id": "#/properties/version",
"examples": [
"1.0",
"2.3.1"
],
"pattern": "^([0-9]+\\.)?([0-9]+\\.)?([0-9]+)$",
"title": "The message format version",
"type": "string"
}
},
"required": [
"timestamp",
"message_type",
"version"
],
"title": "ASIST message common header Schema",
"type": "object",
"version": "0.3"
},
"msg": {
"$id": "http://asist.aptima.com/schemas/event_message.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {},
"properties": {
"experiment_id": {
"$id": "#/properties/experiment_id",
"default": "",
"examples": [
"123e4567-e89b-12d3-a456-426655440000"
],
"pattern": "(([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|Not Set|Null|null)",
"title": "The Experiment Id Schema",
"type": "string"
},
"replay_id": {
"$id": "#/properties/replay_id",
"default": "",
"examples": [
"123e4567-e89b-12d3-a456-426655440000"
],
"pattern": "(([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|Not Set|null|Null)",
"title": "The Replay Id Schema",
"type": [
"string",
"null"
]
},
"replay_parent_id": {
"$id": "#/properties/replay_parent_id",
"default": "",
"examples": [
"123e4567-e89b-12d3-a456-426655440000"
],
"pattern": "(([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|Not Set|null|Null)",
"title": "The Replay Parent Id Schema",
"type": [
"string",
"null"
]
},
"replay_parent_type": {
"$id": "#/properties/replay_parent_type",
"enum": [
"TRIAL",
"REPLAY",
null
],
"title": "The Replay Parent Type Schema",
"type": [
"string",
"null"
]
},
"source": {
"$id": "#/properties/source",
"default": "",
"examples": [
"simulator"
],
"pattern": "^(.*)$",
"title": "The Source Schema",
"type": "string"
},
"sub_type": {
"$id": "#/properties/sub_type",
"const": "Event:proximity",
"default": "",
"examples": [
"equip",
"triage"
],
"pattern": "^([a-zA-Z0-9_:]*?)$",
"title": "The Sub Type Schema",
"type": "string"
},
"timestamp": {
"$id": "#/properties/timestamp",
"default": "",
"examples": [
"2019-12-26T14:05:02.3412Z"
],
"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.]?[0-9]{0,}?Z",
"title": "The Timestamp Schema",
"type": "string"
},
"trial_id": {
"$id": "#/properties/trial_id",
"default": "",
"examples": [
"123e4567-e89b-12d3-a456-426655440000"
],
"pattern": "(([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|Not Set|null|Null)",
"title": "The Trial Id Schema",
"type": "string"
},
"version": {
"$id": "#/properties/version",
"default": "",
"examples": [
"0.1",
"1.0.1"
],
"pattern": "^([.]*)|(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"title": "The Version Schema",
"type": "string"
}
},
"required": [
"experiment_id",
"timestamp",
"source",
"sub_type",
"version"
],
"title": "The Event Message Schema",
"type": "object",
"version": "0.5"
}
},
"required": [
"header",
"msg",
"data"
],
"title": "The Event Cognitive-Load Schema",
"type": "object",
"version": "1.0"
}Upstream spec documentation
Data Subtype: Event:cognitive_load Message Format
This data message subtype, Event:cognitive_load, is used to communicate team cognitive load and the probability of forgetting.
TOPIC
agent/measure/
Message Fields
| Field Name | Type | Description |
|---|---|---|
| header | object | From Common Message Format section |
| msg | object | From the event Header Format section |
| data.id | string | Unique Id associated with this event |
| data.agent | string | The name of the agent who sent this message |
| data.created | string | Timestamp of when the data was generated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.ssssZ |
| data.elapsed_milliseconds | number | the number of elapsed milliseconds since mission start |
| data.cognitive_load | Measure | Cognitive load measure |
| data.probability_of_forgetting | Measure | Probability of forgetting measure |
Message Example
{
"header": {
"timestamp": "2021-10-11T01:05:29.826595Z",
"message_type": "event",
"version": "1.1"
},
"msg": {
"sub_type": "Event:cognitive_load",
"version": "1.0",
"source": "AC_CMUFMS_TA2_Cognitive",
"timestamp": "2021-10-11T01:05:29.826595Z",
"experiment_id": "39decb46-72fc-4a54-9a78-7571b6011e27",
"trial_id": "3c6adbb6-ee33-4e7e-8d00-296d27a0d32a"
},
"data": {
"id": "587b797e-a0f6-4a0d-8769-877b2bd36785",
"agent": "AC_CMUFMS_TA2_Cognitive",
"created": "2022-03-10T01:03:54.022834Z",
"elapsed_milliseconds": 560236,
"cognitive_load": {
"value": 4.654498457656448,
"confidence": 0.5052246336163365
},
"probability_of_forgetting": {
"value": 0.9724250461356305,
"confidence": 0.04152453959113148
}
}
}