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

metadata.fields.switch.json Maven / Gradle / Ivy

There is a newer version: 0.1.15
Show newest version
{
  "name": {
    "type": "string",
    "title": "任务名称",
    "required": true,
    "default": ""
  },
  "title": {
    "type": "string",
    "title": "节点名称",
    "required": false,
    "default": ""
  },
  "description": {
    "type": "string",
    "title": "节点描述",
    "required": false,
    "default": ""
  },
  "inputMappings": {
    "type": "array",
    "title": "输入映射",
    "required": true,
    "items": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "title": "输入来源",
          "required": true
        },
        "target": {
          "type": "string",
          "title": "输入目标",
          "required": true
        },
        "reference": {
          "type": "string",
          "title": "commonMapping 引用",
          "required": true
        },
        "transform": {
          "type": "string",
          "title": "输入映射处理 aviator 表达式",
          "required": false
        },
        "tolerance": {
          "type": "boolean",
          "title": "容忍错误",
          "required": false
        },
        "requiredGroup": [
          ["source", "target"],
          ["reference"]
        ]
      }
    }
  },
  "switches": {
    "type": "array",
    "required": true,
    "items": {
      "type": "object",
      "properties": {
        "condition": {
          "type": "string",
          "title": "判断条件"
        },
        "next": {
          "type": "string",
          "title": "后继节点"
        },
        "break": {
          "type": "boolean",
          "title": "命中则跳过后续判断",
          "required": false
        }
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy