Home Schema Example JSON Schema

Delivery Metadata

Type: object

Delivery.metadata is usually set by providers to track the messages being sent and received.

No Additional Properties

Create Delivery

Type: boolean

Whether to create delivery object during outgoing flows.

BotMDHospitalProvider

Type: object

Delivery metadata for BotMDHospitalProvider.

No Additional Properties

Delivery Status

Type: enum (of string)

Delivery status

Must be one of:

  • "delivered"
  • "failed"

Delivery UIDs

Type: array of string

Delivery UID of delivery to native app. There can be multiple delivery UIDs when the user has multiple devices.

No Additional Items

Each item of this array must be:

Delivery UID

Type: string

Must be at least 1 characters long

LineProvider

Type: object

Delivery metadata for LineProvider.

No Additional Properties

Delivery Status

Type: enum (of string)

Delivery status enumerated by LineDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "received"
  • "hold_until_follow"
  • "hold_until_follow_expired"

Webhook Event ID

Type: string

The webhook event ID associated with an incoming delivery.

Must be at least 1 characters long

Message IDs

Type: array of string

Message IDs associated with this delivery.

Must contain a minimum of 0 items

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Unsent

Type: boolean

Whether this delivery has been unsent. Defaults to false.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

MessagebirdProvider

Type: object

Delivery metadata for MessagebirdProvider; obtained from https://developers.messagebird.com/api/conversations/#messagestatus-object.

No Additional Properties

Messagebird Message ID

Type: string or null

Messagebird message_id is useful for tracking the delivery status of a message.

Delivery Status

Type: enum (of string)

Delivery status enumerated by MessagebirdDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "accepted"
  • "pending"
  • "sent"
  • "transmitted"
  • "rejected"
  • "failed"
  • "read"
  • "received"
  • "deleted"
  • "unknown"
  • "delivered"

Pricing

Type: object

Pricing information for the message.

Billable

Type: boolean

Whether the message is billable based on conversation window.

Pricing Model

Type: string

The pricing model used for the message.

Category

Type: string

The category of the message.

Expiration timestamp

Type: stringFormat: date-time

When the conversation window expires

Error

Type: object

The error object within the message payload. Only set when exist.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

MessengerProvider

Type: object

Delivery metadata for MessengerProvider.

No Additional Properties

Messenger Entry ID

Type: string

Payload entry ID, i.e., payload['id'].

Must be at least 1 characters long

Message IDs

Type: array of string

List of message IDs, i.e., payload['messaging'][*]['mid']. Usually there is only 1.

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Delivery Status

Type: enum (of string)

Delivery status enumerated by MessengerDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "delivered"
  • "read"
  • "received"

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

NoopProvider

Type: object

Delivery metadata for NoopProvider and NoopPhoneProvider.

No Additional Properties

Status

Type: enum (of string)

Delivery status.

Must be one of:

  • "posted"
  • "received"
  • "unknown"

NoopProvider

Type: object

Delivery metadata for NoopProvider and NoopPhoneProvider.

No Additional Properties

Status

Type: enum (of string)

Delivery status.

Must be one of:

  • "posted"
  • "post_failed"
  • "received"

Message ID

Type: string

Message ID of inbound/outbound messages.

Must be at least 1 characters long

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

PromoTexterProvider

Type: object

Delivery metadata for PromoTexterProvider. See PromoTexter Messaging API for more information.

Transaction IDs

Type: array of string

PromoTexter specific transaction IDs for each API request.

No Additional Items

Each item of this array must be:

Transaction ID

Type: string

Must be at least 1 characters long

Status

Type: enum (of string)

Delivery status enumerated by PromoTexterDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "delivered"
  • "failed"
  • "seen"
  • "clicked"
  • "unknown"
  • "received"

Error Code

Type: string

Error code returned by the provider.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

Additional Properties of any type are allowed.

Type: object

PusherProvider

Type: object

Delivery metadata for PusherProvider.

No Additional Properties

Delivery Status

Type: enum (of string)

Delivery status enumerated by PusherDeliveryStatus.

Must be one of:

  • "sent"
  • "received"
  • "read"
  • "failed"

Truncated

Type: boolean

Message was not included in Pusher payload due to size restrictions.

QiscusMultichannelProvider

Type: object

Delivery metadata for QiscusMultichannelProvider.

No Additional Properties

Delivery Status

Type: enum (of string)

Delivery status enumerated by PromoTexterDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "received"
  • "deleted"
  • "delivered"
  • "failed"
  • "read"
  • "sent"
  • "warning"

Message ID

Type: array of string

Message ID for incoming and outgoing messages. For incoming messages, it is of the form {payload["message"]["unique_temp_id"]}:{payload["message"]["id"]}. Only messages sent via WhatsApp API have message IDs.

No Additional Items

Each item of this array must be:

Message ID

Type: string

Must be at least 1 characters long

Payload Type

Type: enum (of string)

Whether the payload is sent or recieved via the multichannel API or WhatsApp API.

Must be one of:

  • "multichannel"
  • "whatsapp"

Pricing

Type: object

Pricing information for the message.

Billable

Type: boolean

Whether the message is billable based on conversation window.

Pricing Model

Type: string

The pricing model used for the message.

Category

Type: string

The category of the message.

Handover

Type: boolean

True if this is a handover delivery and the handover was done successfully. If unsuccessful, it will be false. This value is null or unspecified for regular message deliveries.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

QiscusMultichannelProvider

Type: object

Delivery metadata for QiscusMultichannelProvider.

No Additional Properties

Message ID

Type: array of string

Message ID for incoming and outgoing messages. For incoming messages, it is of the form {payload["id"]}

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Agent Handover

Type: boolean

True if this is a handover delivery and the handover was done successfully. If unsuccessful, it will be false. This value is null or unspecified for regular message deliveries.

Error

Type: object

Error message.

Delivery Status

Type: enum (of string)

Delivery status enumerated by QontakDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "received"
  • "delivered"
  • "read"
  • "failed"

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

SESProvider

Type: object

Delivery metadata for SESProvider.

No Additional Properties

Delivery Status

Type: enum (of string)

Delivery status enumerated by SESDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "received"
  • "bounced"

Incoming Receipt

Type: object

Receipt metadata. This is basically the SES notification payload.

No Additional Properties

Message ID

Type: string

The SES assigned message ID.

Must be at least 1 characters long

Payload

Type: object

The original payload from SES.

Mail

Type: object

This is provided by SES. See https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-notifications-examples.html

Receipt

Type: object

This is provided by SES. See https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-notifications-examples.html

Additional Properties of any type are allowed.

Type: object

Outgoing Metadata

Type: object

Outgoing metadata. This is basically the SES response to send_email.

No Additional Properties

Message ID

Type: string

The outgoing message ID given by AWS SES.

Must be at least 1 characters long

Status Code

Type: integer

The HTTPStatusCode returned by SES.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

SmoochProvider

Type: object

Delivery metadata for SmoochProvider.

No Additional Properties

Message ID

Type: string

Smooch message_id is useful for tracking the delivery status of a message.

Delivery Status

Type: enum (of string)

Delivery status enumerated by SmoochDeliveryStatus.

Must be one of:

  • "sent"
  • "delivery_success"
  • "delivery_failure"
  • "received"

Bot MD API key

Type: string

An API key used by Bot MD to determine the organization using the Smooch application. This is necessary because we multiplex multiple clients into one Smooch application.

Must be at least 1 characters long

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

SMTPProvider

Type: object

Delivery metadata for SMTPProvider.

No Additional Properties

Delivery Status

Type: enum (of string)

Delivery status enumerated by SMTPDeliveryStatus.

Must be one of:

  • "sent"
  • "failed"

Error

Type: object

Error message when failed to deliver email.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

TelegramProvider

Type: object

Delivery metadata for TelegramProvider.

No Additional Properties

Update ID

Type: number

The update_id in the webhook payload is globally unique. See Python Telegram Bot documentation.

Message IDs

Type: array of number

Telegram message.message_ids are incremental ID that are not globally unique.

No Additional Items

Each item of this array must be:

Delivery Status

Type: enum (of string)

Delivery status enumerated by TelegramDeliveryStatus.

Must be one of:

  • "received"
  • "posted"
  • "post_failed"

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

TwilioProvider

Type: object

Delivery metadata for TwilioProvider. Information about message statuses can be found here https://www.twilio.com/docs/messaging/guides/webhook-request#status-callback-parameters

No Additional Properties

Type: object

The following properties are required:

  • message_sid
  • status
  • sent_from
Type: object

The following properties are required:

  • message_sid
  • status
  • received_by

Twilio Message ID

Type: string or null

Twilio message_sid is useful for tracking the delivery status of a message.

Delivery Status

Type: enum (of string)

Delivery status enumerated by TwilioDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "delivered"
  • "failed"
  • "queued"
  • "read"
  • "sent"
  • "undelivered"
  • "received"

Received By

Type: string

This is the Twilio phone number that received the message. This is useful when multiple numbers are used for the same Twilio provider.

Must match regular expression: ^\+\d{5,}$

Sent From

Type: string

This is the Twilio phone that sent the message. This is useful when multiple numbers are used for the same Twilio provider.

Must match regular expression: ^\+\d{5,}$

Billing

Type: object

Metadata related to billing.

No Additional Properties

Num Segments

Type: integer

Number of segments used for billing purposes.

Value must be strictly greater than 0

Price

Type: string

Price of this message as charged by Twilio. String because it is treated as a Decimal.

Price Unit

Type: string

The currency of price.

Must be at least 1 characters long

Updated On

Type: stringFormat: date-time

Date/time the billing information was synced.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

ViberProvider

Type: object

Delivery metadata for ViberProvider.

No Additional Properties

Message Token

Type: string

The message token associated with an incoming delivery.

Must be at least 1 characters long

Delivery Status

Type: enum (of string)

Delivery status enumerated by ViberDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "received"
  • "delivered"
  • "hold_until_follow"
  • "hold_until_follow_expired"
  • "seen"
  • "failed"

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

WhatsAppProvider

Type: object

Delivery metadata for WhatsAppProvider.

No Additional Properties

Message IDs

Type: array of string

List of message IDs. Usually there is only 1.

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Delivery Status

Type: enum (of string)

Delivery status enumerated by WhatsAppDeliveryStatus.

Must be one of:

  • "posted"
  • "post_failed"
  • "delivered"
  • "read"
  • "sent"
  • "received"
  • "failed"

Pricing

Type: object

Pricing information for the message.

Billable

Type: boolean

Whether the message is billable.

Pricing Model

Type: string

The pricing model used for the message.

Category

Type: string

The category of the message.

Errors

Type: array

Errors received from provider's webhook

No Additional Items

Error

Type: object

Error message for post_failed.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^\w+_on$

Status Update Date-Time

Type: stringFormat: date-time

This field is set when the status of the delivery is updated.

Action State

Type: object

Delivery metadata for ActionState.

No Additional Properties

Type: object

The following properties are required:

  • executed_by
Type: object

The following properties are required:

  • is_execution_successful

Executed By

Type: string

If this delivery is the result of an action state execution, it will be the UID of the delivery that "triggered" the execution.

Must be at least 1 characters long

Is Execution Successful

Type: boolean

True if this action state delivery executed successfully. Only action state deliveries will have this value set.

Is Via JWT

Type: boolean

Whether this action state's ApplicationPayload was created via JWT.

Ignore outgoing delivery

Type: boolean

Ignore outgoing delivey for action state message

Redirect To

Type: stringFormat: uri

When executing in via JWT, this value holds the URL to redirect the user to. This is used internally.

FCMProvider

Type: object

Delivery metadata for FCMProvider.

No Additional Properties

Mute delivery

Type: boolean

When this is set to true, the delivery doesn't get through the fcm provider.

Custom Data Message

Type: object

Use this to override the default data message.

Additional Properties of any type are allowed.

Type: object

Delivery Status

Type: enum (of string)

Status of FCM delivery message

Must be one of:

  • "sent"
  • "failed"
  • "not_sent"

Bifrost

Type: object

Delivery metadata for Bifrost application.

No Additional Properties

Type: object

The following properties are required:

  • organization
  • flow_uid
  • connection_uid
  • purpose
Type: object

The following properties are required:

  • organization
  • query_delivery_uid

Organization

Type: string

Key of Bifrost organization that created this delivery.

Must be at least 1 characters long

Flow UID

Type: string

UID of Bifrost flow that created this delivery.

Must be at least 1 characters long

Connection UID

Type: string

UID of Bifrost connection that created this delivery.

Must be at least 1 characters long

Purpose

Type: string

Purpose Bifrost flow-connection that created this delivery.

Must be at least 1 characters long

Query Delivery UID

Type: string

The UID of the query delivery object. Useful for tracking query and responses.

Must be at least 1 characters long

Chemocalc

Type: object

Delivery metadata for Chemocalc application.

No Additional Properties

Delivery By

Type: enum (of string)

Describes the type of the message (e.g., alert, reminder, etc).

Must be one of:

  • "user"
  • "system"
  • "bot"
  • "unknown"

Message Template UID

Type: string

UID of the message template used for outgoing delivery.

Must be at least 1 characters long

Session UID

Type: string

UID of patient/doctor who sent the delivery.

Must be at least 1 characters long

Cleo

Type: object

Delivery metadata for Cleo application.

No Additional Properties

Type: object

The following properties are required:

  • delivery_by
  • clinic
  • profile_uid
Type: object

The following properties are required:

  • delivery_by
  • clinics
  • profile_uids

Delivery By

Type: enum (of string)

Describes the type of the message (e.g., alert, reminder, etc).

Must be one of:

  • "alert"
  • "reminder"
  • "enrollment"
  • "discharge"
  • "new_submission_comment"
  • "update_metadata_entry"
  • "submission"
  • "bot"
  • "clinician"
  • "user"
  • "system"
  • "unknown"
  • "event"
  • "payment"
  • "greeting"
  • "disclaimer"
  • "scheduling_reminder"

Clinic (Outgoing)

Type: string or null

Clinic that this outgoing delivery is part of.

Clinics (Incoming)

Type: array of string

Clinics that this incoming delivery is part of.

Must contain a minimum of 0 items

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Profile UID (Outgoing)

Type: string or null

UID of patient/clinician delivered to. This is for all outgoing deliveries.

Profile UIDs (Incoming)

Type: array of string

UID of patient for whom the delivery was processed. This is for all incoming deliveries.

Must contain a minimum of 0 items

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Calendar UID (Outgoing)

Type: string

UID of associated patient-event's calendar. This is for outgoing deliveries related to events.

Must be at least 1 characters long

Patient Event UID (Outgoing)

Type: string

UID of associated patient-event. This is for outgoing deliveries related to events.

Must be at least 1 characters long

Patient Form UID (Outgoing)

Type: string

UID of associated patient-form. This is for outgoing deliveries related to patient-forms.

Must be at least 1 characters long

Patient Group UID (Outgoing)

Type: string

UID of associated patient group. This is for outgoing deliveries using patient groups without monitoring forms.

Must be at least 1 characters long

Patient Payment UID (Outgoing)

Type: string

UID of associated patient-payment. This is for outgoing deliveries related to patient-payments.

Must be at least 1 characters long

Patient Payment Transaction UID (Outgoing)

Type: string

UID of associated patient-payment transaction. This is for outgoing deliveries related to patient-payments.

Must be at least 1 characters long

Patient Program UID (Outgoing)

Type: string

UID of associated patient program. This is for outgoing deliveries using patient program.

Must be at least 1 characters long

Patient Program Form UID (Outgoing)

Type: string

UID of associated patient program form. This is for outgoing deliveries using patient program form.

Must be at least 1 characters long

Query Delivery UID (Outgoing)

Type: string

The UID of the query delivery object. Useful for tracking query and responses.

Must be at least 1 characters long

Message Template Primary Key

Type: integer

Primary key of the message template used for outgoing delivery.

Value must be greater or equal to 1

Reminder Event Primary Key

Type: integer

Primary key of associated reminder event. This is for reminder deliveries.

Value must be greater or equal to 1

Clinician UID (Outgoing)

Type: string

For messages sent by clinicians (i.e., triggered via dashboard), this field will contain the clinician's UID.

Must be at least 1 characters long

Clinical Parameter UID

Type: string

UID for clinical parameter that is being updated.

Must be at least 1 characters long

Engage

Type: object

Delivery metadata associated with the specialized Engage application.

No Additional Properties

Module

Type: string

The module corresponding to this delivery.

Must be at least 1 characters long

Stage

Type: string

The stage corresponding to this delivery.

Einstein

Type: object

Delivery metadata for Einstein related features.

No Additional Properties

Broadcast UID

Type: string

Broadcast UID which this delivery is sent from.

Must be at least 1 characters long

Faraday

Type: object

Delivery metadata for Faraday application.

No Additional Properties

Delivery By

Type: enum (of string)

Describes the type of the message (e.g., alert, reminder, etc).

Must be one of:

  • "alert"
  • "reminder"
  • "bot"
  • "user"
  • "system"
  • "unknown"

Clinic

Type: string or null

Clinic that this delivery is part of.

Message Template Primary Key

Type: integer

Primary key of the message template used for outgoing delivery.

Value must be greater or equal to 1

Order UID

Type: string

For messages sent to patients, this field will contain the order's UIDs.

Must be at least 1 characters long

OrderExam UIDs

Type: array of string

For messages sent to patients, this field will contain the orderexam's UIDs.

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Profile UID

Type: string or null

UID of staff/patient delivered to.

Query Delivery UID

Type: string

The UID of the query delivery object. Useful for tracking query and responses.

Must be at least 1 characters long

Healthcheck

Type: object

Delivery metadata for Healthcheck.

No Additional Properties

Ping Delivery UID

Type: string

Delivery UID for the incoming ping delivery. This is set for outgoing pong deliveries.

Must be at least 1 characters long

Heimdall

Type: object

Delivery metadata for Heimdall.

No Additional Properties

Provider Application UID

Type: string

The Heimdall OTP provider that created this delivery.

Must be at least 1 characters long

Hospital

Type: object

Delivery metadata for Hospital application.

No Additional Properties

Delivery By


Describes how the message was delivered.

Notification Types

Type: object

These types are unique throughout the Bot MD ecosystem. These keys are used in the user's Profile.settings.notifications.deactivated[] to identify the notifications that they have deactivated.

Bot

Type: const

Messages from Bot. This is the default is no delivery_by is specified.

Specific value: "bot"

Alert

Type: const

Alerts

Specific value: "alert"

Email Notification

Type: const

Email Notification to Admin / User (eg. User License limit, activation, expiry, etc.)

Specific value: "email_notification"

Broadcast

Type: const

Broadcast to hospital

Specific value: "broadcast"

Profile Reminder

Type: const

Profile related reminder (eg. profile creation, activation, expiry, etc).

Specific value: "profile_reminder"

Temperature Reminder

Type: const

Temperature reminder for Singapore hospitals.

Specific value: "temperature_reminder"

ART Reminder

Type: const

ART reminder for Singapore hospitals.

Specific value: "art_reminder"

ED

Type: const

ED Roster Updates used by TTSH Emergency Department.

Specific value: "ed_roster"

Mental Health

Type: const

Mental Health bot for TTSH.

Specific value: "emobot"

Mood Log Reminder

Type: const

Mood Log Reminder for TTSH Mental Health Module (2024)

Specific value: "moodlog_reminder"

ECG

Type: const

ECG Updates used by TTSH Emergency Department.

Specific value: "ecg"

Arise

Type: const

Arise/PSP used by Roche.

Specific value: "arise_psp"
Type: enum (of string)

Must be one of:

  • "query"

Short Name

Type: string

Hospital short name for the profile recieving this delivery.

Query Delivery UID

Type: string

The UID of the query delivery object. Useful for tracking query and responses.

Must be at least 1 characters long

Response Time

Type: number

Time taken to get response from athena. Includes internal service network RTT.

Value must be greater or equal to 0

Jarvis

Type: object

Delivery metadata for Jarvis application.

No Additional Properties

Type: object

Name

Type: string

Name of the query engine as specified in the query engine settings.

Must be at least 1 characters long

Version

Type: string

Version of the query engine. This is based on the Kondo version (i.e., commit ID of the corresponding Kondo resource).

Additional Properties of any type are allowed.

Type: object

Version

Type: string

Version of Jarvis. This is usually equivalent to the deploy Hippocrates version.

Must be at least 1 characters long

Module Response

Type: object

Summary of the module that responded to this query.

Type

Type: string

Type/Name of the module that responded to this query.

Must be at least 1 characters long

Additional Properties of any type are allowed.

Type: object

Mastermind

Type: object

Delivery metadata for when a delivery is sent by a Mastermind user from the device page.

No Additional Properties

Delivery By

Type: string

The Mastermind user that sent this delivery.

Maxwell

Type: object

Delivery metadata for maxwell orders.

No Additional Properties

Order ID

Type: integer

Maxwell Order ID associated with this message delivery.

Ratatoskr

Type: object

Delivery metadata related to Ratatoskr.

No Additional Properties

Is Technical Error Message

Type: boolean

This delivery is in response to an unhandled exception.

Is Subscribe Message

Type: boolean

This delivery is in response to an subscribe request.

Is Unsubscribe Message

Type: boolean

This delivery is in response to an unsubscribe request.

Retry Deliveries

Type: object

Delivery metadata for when a delivery is retried using the retry_deliveries management command.

No Additional Properties

Delivery By

Type: enum (of string)

How retry delivery was invoked.

Must be one of:

  • "cli"
  • "mastermind"
  • "kronos"

Delivery UID

Type: string

The uid of the delivery that is being retried.

Must be at least 1 characters long

Retried By

Type: string

Either the AWS STS caller ID or Mastermind username of the user who triggered the retry.

Must be at least 1 characters long

Retry Attempts

Type: integer

Number of times the delivery has been retried.

Has Retried

Type: boolean

Whether the delivery has been retried to sent so it won't auto-retry again.

Variables

Type: object

Used for variable substitution inside message content. Any instance of ${name} in the message content will be replaced using simple string substitution.

Each additional property must conform to the following schema

Type: string

Query Metrics

Type: object

Contains information related to the Jarvis query flow for use in analysis.

Jarvis modules related to the query flow.

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Jarvis Chernobyl miniapps related to the query flow.

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Indicates if the message is a sorry message.

Type: boolean

Indicates if Jarvis is is confident of the reply.

Type: boolean

Query used in the query flow.

Type: string

The querying hospital

Type: string

Must be at least 1 characters long

Query Nonce (one occasion) used for identifying multipart messages that belong to the same querying session.

Type: string

Must be at least 1 characters long

Legacy

Type: object

Delivery metadata for legacy ChatResponses.

Additional Properties of any type are allowed.

Type: object