observations/events/mission/puzzle_summary
a summary of the puzzle displayed to each role
header
| Field | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| message_type | string | event |
msg
| Field | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| sub_type | string | Mission:PuzzleTextSummary |
data
| Field | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| missionName | string | ✓ | The mission name | |
| medical_specialist_puzzle_summary | array<object> | ✓ | ||
| engineering_specialist_puzzle_summary | array<object> | ✓ | ||
| transport_specialist_puzzle_summary | array<object> | ✓ |
Example message
{
"header": {
"timestamp": "2019-12-26T12:47:23.1234Z",
"message_type": "event",
"version": "0.6"
},
"msg": {
"experiment_id": "563e4567-e89b-12d3-a456-426655440000",
"trial_id": "123e4567-e89b-12d3-a456-426655440000",
"timestamp": "2019-12-26T14:05:02.1412Z",
"source": "simulator",
"sub_type": "Mission:PuzzleTextSummary",
"version": "2.0"
},
"data": {
"mission_name": "Saturn_A",
"medical_specialist_puzzle_summary": ["MEETING LOCATIONS"],
"transport_specialist_puzzle_summary": [,"MEETING ATTENDANTS"],
"engineering_specialist_puzzle_summary": ["ROOM DAMAGE SEVERITY"]
}
}Raw JSON Schema (resolved)
{
"$id": "http://asist.aptima.com/schemas/puzzle_text_summary_message.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {},
"properties": {
"data": {
"properties": {
"engineering_specialist_puzzle_summary": {
"items": {
"enum": [
"MEETING LOCATIONS",
"MEETING ATTENDANTS",
"ROOM DAMAGE SEVERITY"
]
},
"type": "array"
},
"medical_specialist_puzzle_summary": {
"items": {
"enum": [
"MEETING LOCATIONS",
"MEETING ATTENDANTS",
"ROOM DAMAGE SEVERITY"
]
},
"type": "array"
},
"missionName": {
"$id": "#/properties/data/properties/mission_name",
"examples": [
"Saturn_B"
],
"pattern": "^(.*)$",
"title": "The mission name",
"type": "string"
},
"transport_specialist_puzzle_summary": {
"items": {
"enum": [
"MEETING LOCATIONS",
"MEETING ATTENDANTS",
"ROOM DAMAGE SEVERITY"
]
},
"type": "array"
}
},
"required": [
"missionName",
"medical_specialist_puzzle_summary",
"transport_specialist_puzzle_summary",
"engineering_specialist_puzzle_summary"
]
},
"header": {
"$ref_unresolved": "../../Common_Header/common_header.json",
"properties": {
"message_type": {
"$id": "#/properties/message_type",
"const": "event",
"title": "The Message_type Schema",
"type": "string"
}
}
},
"msg": {
"$ref_unresolved": "../../Common_Message/common_message.json",
"properties": {
"sub_type": {
"$id": "#/properties/sub_type",
"const": "Mission:PuzzleTextSummary",
"title": "The Sub Type Schema",
"type": "string"
}
}
}
},
"required": [
"header",
"msg",
"data"
],
"title": "The Puzzle Text Summary Schema",
"type": "object",
"version": "2.0"
}Upstream spec documentation
Trial Message Format
A message giving the summary of the text displayed to the participants for the puzzle.
Message Fields
| Field Name | Type | Description |
|---|---|---|
| mission_name | string | the mission name |
| medical_specialist_puzzle_summary | string[] | summary of text to be displayed on the medic client map |
| transport_specialist_puzzle_summary | string[] | summary of text to be displayed on the transporter client map |
| engineering_specialist_puzzle_summary | string[] | summary of text to be displayed on the engineer client map |
TOPIC
observations/events/mission/puzzle_summary
Message Example
{
"header": {
"timestamp": "2019-12-26T12:47:23.1234Z",
"message_type": "event",
"version": "0.6"
},
"msg": {
"experiment_id": "563e4567-e89b-12d3-a456-426655440000",
"trial_id": "123e4567-e89b-12d3-a456-426655440000",
"timestamp": "2019-12-26T14:05:02.1412Z",
"source": "simulator",
"sub_type": "Mission:PuzzleTextSummary",
"version": "2.0"
},
"data": {
"mission_name": "Saturn_A",
"medical_specialist_puzzle_summary": ["MEETING LOCATIONS"],
"transport_specialist_puzzle_summary": [,"MEETING ATTENDANTS"],
"engineering_specialist_puzzle_summary": ["ROOM DAMAGE SEVERITY"]
}
}
VERSION | DATE | DETAILS | --- | --- | --- | | 2.0 | 03/10/22 | Initial Spec Created