Texecom Event Schemas

JSON Schema Documentation

Common Properties for ARC response events

Common properties shared across multiple ARC received event types.

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

Properties

NameType
protocolString
arcIdString
arcNameString
arcEndPointString
monitorEventIdNumber
monitorEventActionIdNumber
monitorEventActionDetailsString
monitorEventActionStatusNumber
monitorEventActionSentTimeString
monitorEventActionReceivedTimeString
monitorEventActionFlightTimeNumber
monitorEventActionAckPendingBoolean
monitorEventActionAcknowledgedNumber
lastUpdatedTimeString
monitorEventActionSentTimeMsNumber
monitorEventActionReceivedTimeMsNumber
monitorRuleIdNumber
monitorRuleActionNumber

protocol

TypeString
Required Yes

arcId

Description The unique id of the ARC
TypeString
Required Yes

arcName

Description The name of the ARC
TypeString
Required Yes

arcEndPoint

Description The configured endpoint of the ARC
TypeString
Required Yes

monitorEventId

Description The id of the event that triggered this action
TypeNumber
Required Yes

monitorEventActionId

Description The id of the action that triggered this event
TypeNumber
Required Yes

monitorEventActionDetails

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

monitorEventActionStatus

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

monitorEventActionSentTime

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

monitorEventActionReceivedTime

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

monitorEventActionFlightTime

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

monitorEventActionAckPending

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

monitorEventActionAcknowledged

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

lastUpdatedTime

TypeString
Required Yes
Format date-time

monitorEventActionSentTimeMs

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

monitorEventActionReceivedTimeMs

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

monitorRuleId

Description The id of the rule that triggered this event
TypeNumber
Required Yes

monitorRuleAction

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

Schema

{
    "$id": "https://schemas.texecom-prod.com/v2/events/event-type/arc/common/received/v1.0.0.json",
    "$schema": "http://json-schema.org/draft-07/schema",
    "title": "Common Properties for ARC response events",
    "description": "Common properties shared across multiple ARC received event types.",
    "type": "object",
    "properties": {
        "protocol": {
            "type": "string"
        },
        "arcId": {
            "type": "string",
            "description": "The unique id of the ARC"
        },
        "arcName": {
            "type": "string",
            "description": "The name of the ARC"
        },
        "arcEndPoint": {
            "type": "string",
            "description": "The configured endpoint of the ARC"
        },
        "monitorEventId": {
            "type": "number",
            "description": "The id of the event that triggered this action"
        },
        "monitorEventActionId": {
            "type": "number",
            "description": "The id of the action that triggered this event"
        },
        "monitorEventActionDetails": {
            "type": "string",
            "description": "Details of what was done, depends on the action"
        },
        "monitorEventActionStatus": {
            "type": "number",
            "description": "Indicates the action status 0=success, 1 and above is an error code"
        },
        "monitorEventActionSentTime": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp that the message was sent to the server"
        },
        "monitorEventActionReceivedTime": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp that the message was received by the server"
        },
        "monitorEventActionFlightTime": {
            "type": "number",
            "description": "The message flight time in milliseconds (essentially received timestamp in millseconds minus sent timestamp in milliseconds)"
        },
        "monitorEventActionAckPending": {
            "type": "boolean",
            "description": "Indicates if the action has been acknowledged by the server"
        },
        "monitorEventActionAcknowledged": {
            "type": "number",
            "description": "Timestamp that the user acknowledged the event (if applicable)"
        },
        "lastUpdatedTime": {
            "type": "string",
            "format": "date-time"
        },
        "monitorEventActionSentTimeMs": {
            "type": "number",
            "description": "Timestamp that the message was sent to the server in milliseconds"
        },
        "monitorEventActionReceivedTimeMs": {
            "type": "number",
            "description": "Timestamp that the message was received by the server in milliseconds"
        },
        "monitorRuleId": {
            "type": "number",
            "description": "The id of the rule that triggered this event"
        },
        "monitorRuleAction": {
            "type": "number",
            "description": "The action, see /api/phoenix/rules/actions in texecom-cloud repo"
        }
    },
    "additionalProperties": false,
    "required": [
        "protocol",
        "arcId",
        "arcName",
        "arcEndPoint",
        "monitorEventId",
        "monitorEventActionId",
        "monitorEventActionDetails",
        "monitorEventActionStatus",
        "monitorEventActionSentTime",
        "monitorEventActionReceivedTime",
        "monitorEventActionFlightTime",
        "monitorEventActionAckPending",
        "monitorEventActionAcknowledged",
        "monitorEventActionSentTimeMs",
        "monitorEventActionReceivedTimeMs",
        "monitorRuleId",
        "monitorRuleAction",
        "lastUpdatedTime"
    ]
}