名称 | 必填 | 类型 | 说明 |
---|---|---|---|
ruleid | 是 | int | 规则id,用于返回结果中使用,该数值需要保证唯一性 |
type | 是 | string | 规则类型,Null <空拓扑类型; Topology 拓扑规则类型;Attribute 属性规则类型 |
srcdataset | 是 | datasetinfo | 拓扑检查源要素集 |
filter | 否 | Filter对象 | 数据过滤条件 |
以下为拓扑规则检查时有效 | |||
topologyRuleType | 是 | string | 拓扑规则类型 ,对应TopologyRuleType进行字符映射取值,当type为Topology 必填 |
topologyErrorType | 否 | string数组 | 拓扑规则检查细项 ,只有在TopologyRuleType为Custom时,设置拓扑规则检查细项才会有效,否则不生效 |
destdataset | 否 | datasetinfo | 拓扑检查目标要素集,当type为Topology 有效,部分拓扑规则类型需要,根据拓扑规则定义 |
以下为属性规则检查时有效 | |||
attributeRuleType | 否 | string | 属性规则类型,对应AttributeRuleType 枚举取值,当type为Attribute 必填 |
field | 是 | string | 字段名,当type为Attribute 必填 |
relatedParameter | 是 | string | 与属性规则相关的参数,当type为Attribute 必填 |