{ "$id": "eventSystem-trigger-common", "description": "Type definitions for all EventSystem Trigger formats.", "definitions": { "commonFieldNames": { "enum": [ "source", "topic", "schema" ] }, "commonFields": { "type": "object", "properties": { "type": { "const": "eventSystem" }, "source": { "$ref": "#/definitions/source" }, "topic": { "$ref": "#/definitions/topic" }, "schema": { "description": "Event payload filter schema.", "oneOf": [ { "type": "object" }, { "type": "null" } ] } } }, "source": { "description": "The source of the event.", "type": "string", "example": "@itential/app-operations_manager" }, "topic": { "description": "The event topic.", "type": "string", "example": "missedJobs" } } }