{ "$id": "common-ops-schema", "title": "Common Triggers Schema", "description": "Schema for the shared properties between Trigger types", "type": "object", "definitions": { "name": { "type": "string", "minLength": 1, "description": "The name of the document", "examples": [ "My document" ] }, "ISODate": { "description": "", "type": "string", "format": "date-time", "examples": [ "2019-04-16T00:43:22.038Z" ] }, "ObjectId": { "type": "string", "pattern": "^[0-9a-f]{24}$", "title": "MongoDB ObjectID", "description": "String representation of a MongoDB ObjectId", "examples": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c" ] }, "userAccount": { "oneOf": [ { "$ref": "#/definitions/ObjectId" }, { "const": "Pronghorn" } ] }, "enabled": { "type": "boolean", "descriptions": "A flag to determine if a Trigger is enabled or not." }, "actionType": { "type": "string", "description": "The type of component a Trigger will invoke.", "enum": [ "automations" ] } } }