{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "eventSystem-trigger-create", "title": "EventSystem Trigger Create", "description": "The format of accepted input for the creation of an EventSystem Trigger.", "required": [ "name", "type", "topic" ], "propertyNames": { "anyOf": [ { "$ref": "trigger-common#/definitions/commonFieldNames" }, { "$ref": "common#/definitions/metadataFieldNames" }, { "$ref": "eventSystem-trigger-common#/definitions/commonFieldNames" }, { "enum": [ "jst" ] } ] }, "allOf": [ { "$ref": "trigger-common#/definitions/commonFields" }, { "$ref": "common#/definitions/metadataFields" }, { "$ref": "eventSystem-trigger-common#/definitions/commonFields" }, { "type": "object", "properties": { "jst": { "$ref": "trigger-common#/definitions/jst" } } } ] }