zaraz_legacy-tool

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-zaraz-legacy-tool-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/zaraz_legacy-tool",
  "title": "zaraz_legacy-tool",
  "allOf": [
    {
      "$ref": "#/components/schemas/zaraz_base-tool"
    },
    {
      "properties": {
        "library": {
          "description": "Tool's internal name",
          "type": "string"
        },
        "neoEvents": {
          "description": "List of actions configured on a tool",
          "items": {
            "properties": {
              "blockingTriggers": {
                "description": "List of blocking triggers IDs",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "data": {
                "description": "Event payload",
                "type": "object"
              },
              "firingTriggers": {
                "description": "List of firing triggers IDs",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "type": "array"
              }
            },
            "required": [
              "blockingTriggers",
              "firingTriggers",
              "data"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "type": {
          "enum": [
            "library"
          ],
          "type": "string"
        }
      },
      "required": [
        "library",
        "neoEvents",
        "type"
      ]
    }
  ]
}