{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "manual-trigger-db", "title": "Manual Trigger", "description": "A Manual Trigger as it is stored in the database.", "required": [ "name", "description", "type", "enabled", "actionType", "actionId", "lastExecuted", "createdBy", "created", "lastUpdatedBy", "lastUpdated", "formData", "_id", "formId" ], "propertyNames": { "anyOf": [ { "$ref": "trigger-common#/definitions/commonFieldNames" }, { "$ref": "common#/definitions/metadataFieldNames" }, { "$ref": "manual-trigger-common#/definitions/commonFieldNames" }, { "enum": [ "_id", "formId" ] } ] }, "allOf": [ { "$ref": "trigger-common#/definitions/commonFields" }, { "$ref": "common#/definitions/metadataFields" }, { "$ref": "manual-trigger-common#/definitions/commonFields" }, { "type": "object", "properties": { "_id": { "$ref": "common#/definitions/ObjectId" }, "formId": { "$ref": "trigger-common#/definitions/formId" } } } ] }