{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "schedule-trigger-api", "title": "Schedule Trigger", "description": "A Schedule Trigger in API response format.", "required": [ "name", "description", "type", "enabled", "actionType", "actionId", "lastExecuted", "createdBy", "created", "lastUpdatedBy", "lastUpdated", "formData", "legacyWrapper", "firstRunAt", "nextRunAt", "processMissedRuns", "locked", "repeatUnit", "repeatFrequency", "repeatInterval", "_id", "formId" ], "propertyNames": { "anyOf": [ { "$ref": "trigger-common#/definitions/commonFieldNames" }, { "$ref": "common#/definitions/metadataFieldNames" }, { "$ref": "schedule-trigger-common#/definitions/commonFieldNames" }, { "$ref": "schedule-trigger-common#/definitions/legacyCovariantPropertyNames" }, { "$ref": "schedule-trigger-common#/definitions/legacyInvariantPropertyNames" }, { "enum": [ "_id", "formId" ] } ] }, "allOf": [ { "$ref": "trigger-common#/definitions/commonFields" }, { "$ref": "common#/definitions/metadataFieldsDereferenced" }, { "$ref": "schedule-trigger-common#/definitions/commonFields" }, { "$ref": "schedule-trigger-common#/definitions/legacyCovariantProperties" }, { "$ref": "schedule-trigger-common#/definitions/legacyInvariantProperties" }, { "type": "object", "properties": { "_id": { "$ref": "common#/definitions/ObjectIdLikeString" }, "formId": { "$ref": "trigger-common#/definitions/formId" } } } ] }