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
receivedPayloadAll of:Object

receivedPayload

TypeAll of:Object
Required No

Properties

NameType
responseString
messageString
detailsObject
All of:Object

receivedPayload.response

TypeString
Required Yes

receivedPayload.message

TypeString
Required Yes

receivedPayload.details

TypeObject
Required No

receivedPayload.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

receivedPayload.0.panelId

Description The id of the site that triggered this event
TypeNumber

receivedPayload.0.arcId

Description The unique id of the ARC
TypeString

receivedPayload.0.arcName

Description The name of the ARC
TypeString

receivedPayload.0.arcEndpoint

Description The configured endpoint of the ARC
TypeString

receivedPayload.0.monitorEventId

Description The id of the event that triggered this action
TypeNumber

receivedPayload.0.monitorEventActionId

Description The id of the action that triggered this event
TypeNumber

receivedPayload.0.details

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

receivedPayload.0.sentPayload

Description The payload content sent to the ARC
TypeString

receivedPayload.0.error

Description Error message (if there was an error)
TypeString

receivedPayload.0.status

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

receivedPayload.0.sentTime

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

receivedPayload.0.receivedTime

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

receivedPayload.0.flightTime

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

receivedPayload.0.monitorRuleId

Description The id of the rule that triggered this event
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": {
        "receivedPayload": {
            "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"
            ]
        }
    }
}