All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.governance.workflows.elements.triggers.eventBasedEntityTrigger.json Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
{
  "$id": "https://open-metadata.org/schema/governance/workflows/elements/triggers/eventBasedEntityTrigger.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EventBasedEntityTriggerDefinition",
  "description": "Event Based Entity Trigger.",
  "javaType": "org.openmetadata.schema.governance.workflows.elements.triggers.EventBasedEntityTriggerDefinition",
  "type": "object",
  "definitions": {
    "event": {
      "description": "Event for which it should be triggered.",
      "type": "string",
      "enum": [
        "Created",
        "Updated"
      ]
    },
    "config": {
      "description": "Entity Event Trigger Configuration.",
      "type": "object",
      "properties": {
        "entityType": {
          "description": "Entity Type for which it should be triggered.",
          "type": "string"
        },
        "events": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/event"
          },
          "uniqueItems": true
        },
        "exclude": {
          "description": "Exclude events that only modify given attributes.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": ["entityType", "events"],
      "additionalProperties": false
    }
  },
  "properties": {
    "type": {
      "type": "string",
      "default": "eventBasedEntityTrigger"
    },
    "config": {
      "$ref": "#/definitions/config"
    },
    "output": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": ["relatedEntity"],
      "additionalItems": false,
      "minItems": 1,
      "maxItems": 1,
      "uniqueItems": true
    }
  },
  "additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy