Texecom Event Schemas

JSON Schema Documentation

Texecom Test ARC Received Event Type

Event type for Texecom Test ARC received payload.

$idhttps://schemas.texecom-prod.com/v2/events/event-type/arc/json/received/v1.0.0.json
$schemahttp://json-schema.org/draft-07/schema

Properties

NameType
payloadAll of:Object

payload

TypeAll of:Object
Required Yes

Properties

NameType
responseString
messageString
detailsObject
All of:Object

payload.response

TypeString
Required Yes

payload.message

TypeString
Required Yes

payload.details

TypeObject
Required No

payload.0

$id https://schemas.texecom-prod.com/v2/events/event-type/arc/common/received/v1.0.0.json
Title Common Properties for ARC response events
Description Common properties shared across multiple ARC received event types.
TypeObject

payload.0.protocol

TypeString

payload.0.arcId

Description The unique id of the ARC
TypeString

payload.0.arcName

Description The name of the ARC
TypeString

payload.0.arcEndPoint

Description The configured endpoint of the ARC
TypeString

payload.0.monitorEventId

Description The id of the event that triggered this action
TypeNumber

payload.0.monitorEventActionId

Description The id of the action that triggered this event
TypeNumber

payload.0.monitorEventActionDetails

Description Details of what was done, depends on the action
TypeString

payload.0.monitorEventActionStatus

Description Indicates the action status 0=success, 1 and above is an error code
TypeNumber

payload.0.monitorEventActionSentTime

Description Timestamp that the message was sent to the server
TypeString
Format date-time

payload.0.monitorEventActionReceivedTime

Description Timestamp that the message was received by the server
TypeString
Format date-time

payload.0.monitorEventActionFlightTime

Description The message flight time in milliseconds (essentially received timestamp in millseconds minus sent timestamp in milliseconds)
TypeNumber

payload.0.monitorEventActionAckPending

Description Indicates if the action has been acknowledged by the server
TypeBoolean

payload.0.monitorEventActionAcknowledged

Description Timestamp that the user acknowledged the event (if applicable)
TypeNumber

payload.0.lastUpdatedTime

TypeString
Format date-time

payload.0.monitorEventActionSentTimeMs

Description Timestamp that the message was sent to the server in milliseconds
TypeNumber

payload.0.monitorEventActionReceivedTimeMs

Description Timestamp that the message was received by the server in milliseconds
TypeNumber

payload.0.monitorRuleId

Description The id of the rule that triggered this event
TypeNumber

payload.0.monitorRuleAction

Description The action, see /api/phoenix/rules/actions in texecom-cloud repo
TypeNumber

Schema

{
    "$id": "https://schemas.texecom-prod.com/v2/events/event-type/arc/json/received/v1.0.0.json",
    "$schema": "http://json-schema.org/draft-07/schema",
    "title": "Texecom Test ARC Received Event Type",
    "description": "Event type for Texecom Test ARC received payload.",
    "type": "object",
    "properties": {
        "payload": {
            "type": "object",
            "properties": {
                "response": {
                    "type": "string"
                },
                "message": {
                    "type": "string"
                },
                "details": {
                    "type": "object",
                    "additionalProperties": true
                }
            },
            "allOf": [
                {
                    "$ref": "../../common/received/v1.0.0.json"
                }
            ],
            "required": [
                "response",
                "message"
            ]
        }
    },
    "required": [
        "payload"
    ]
}