ground_truth/mission/role_text
header
| Field | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| timestamp | string | ✓ | ||
| message_type | string | ✓ | groundtruth |
|
| 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 | ✓ | Mission:RoleText |
|
| 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 |
|---|---|---|---|---|
| missionName | string | ✓ | The mission name | |
| medical_specialist_text | array<object> | ✓ | ||
| engineering_specialist_text | array<object> | ✓ | ||
| transport_specialist_text | array<object> | ✓ |
Example message
{
"header": {
"timestamp": "2019-12-26T12:47:23.1234Z",
"message_type": "groundtruth",
"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:RoleText",
"version": "2.0"
},
"data": {
"mission_name": "Saturn_A",
"medical_specialist_text": ["Saturn_A Medical Specialist"],
"transport_specialist_text": ["Saturn_A Transport Specialist"],
"engineering_specialist_text": ["Saturn_A Engineering Specialist"]
}Raw JSON Schema (resolved)
{
"$id": "http://asist.aptima.com/schemas/role_text.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {},
"properties": {
"data": {
"properties": {
"engineering_specialist_text": {
"items": {
"ref": "string"
},
"type": "array"
},
"medical_specialist_text": {
"items": {
"ref": "string"
},
"type": "array"
},
"missionName": {
"$id": "#/properties/data/properties/mission_name",
"examples": [
"Saturn_B"
],
"pattern": "^(.*)$",
"title": "The mission name",
"type": "string"
},
"transport_specialist_text": {
"items": {
"ref": "string"
},
"type": "array"
}
},
"required": [
"missionName",
"medical_specialist_text",
"transport_specialist_text",
"engineering_specialist_text"
]
},
"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": "groundtruth",
"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": "Mission:RoleText",
"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 Role Text Ground Truth Schema",
"type": "object",
"version": "2.0"
}Upstream spec documentation
Trial Message Format
A trial message describes the characteristics of the role_text portion of a trial.
TOPICS
trial
Message Fields
| Field Name | Type | Description |
|---|---|---|
| mission_name | string | the mission name |
| medical_specialist_text | string[] | text to be displayed on the medic client map |
| transport_specialist_text | string[] | text to be displayed on the transporter client map |
| engineering specialist_text | string[] | text to be displayed on the engineer client map |
TOPIC
ground_truth/mission/role_text
Message Example
{
"header": {
"timestamp": "2019-12-26T12:47:23.1234Z",
"message_type": "groundtruth",
"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:RoleText",
"version": "2.0"
},
"data": {
"mission_name": "Saturn_A",
"medical_specialist_text": ["Saturn_A Medical Specialist"],
"transport_specialist_text": ["Saturn_A Transport Specialist"],
"engineering_specialist_text": ["Saturn_A Engineering Specialist"]
}
VERSION | DATE | DETAILS | --- | --- | --- | | 2.1 | 12/3/21 | topic corrected to ground_truth from groundtruth | 2.0 | 12/3/21 | Initial Spec Created