{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "eventSystem-trigger-api", "title": "EventSystem Trigger", "description": "An EventSystem Trigger in API response format.", "required": [ "name", "description", "type", "enabled", "actionType", "actionId", "lastExecuted", "createdBy", "created", "lastUpdatedBy", "lastUpdated", "source", "topic", "schema", "legacyWrapper", "_id", "jst" ], "propertyNames": { "anyOf": [ { "$ref": "trigger-common#/definitions/commonFieldNames" }, { "$ref": "common#/definitions/metadataFieldNames" }, { "$ref": "eventSystem-trigger-common#/definitions/commonFieldNames" }, { "enum": [ "_id", "jst" ] } ] }, "allOf": [ { "$ref": "trigger-common#/definitions/commonFields" }, { "$ref": "eventSystem-trigger-common#/definitions/commonFields" }, { "$ref": "common#/definitions/metadataFieldsDereferenced" }, { "type": "object", "properties": { "_id": { "$ref": "common#/definitions/ObjectIdLikeString" }, "jst": { "$ref": "trigger-common#/definitions/jst" } } } ] }