{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-rule-group-create-request-schema.json", "title": "RuleGroupCreateRequest", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/zoho-rulegroup-api-openapi.yml#/components/schemas/RuleGroupCreateRequest", "type": "object", "properties": { "name": { "type": "string", "description": "" }, "description": { "type": "string", "description": "" }, "engine": { "type": "object", "description": "", "properties": { "id": { "type": "string", "description": "" }, "systemName": { "type": "string", "description": "" } } }, "departmentProperties": { "type": "array", "description": "", "items": { "type": "object", "description": "", "properties": { "id": { "type": "string", "description": "" }, "ruleGroupStatus": { "type": "string", "description": "" }, "ruleGroupOrder": { "type": "string", "description": "" }, "ruleGroupExecutionType": { "type": "string", "description": "" } } } }, "module": { "type": "object", "description": "", "properties": { "id": { "type": "string", "description": "" }, "apiName": { "type": "string", "description": "" } }, "required": [ "apiName", "id" ] }, "events": { "type": "array", "description": "", "items": { "type": "object", "description": "", "properties": { "sysName": { "type": "string", "description": "" }, "userCriteria": { "type": "object", "description": "", "properties": { "moduleMapping": { "type": "object", "description": "", "properties": { "primaryModule": { "type": "object", "description": "", "properties": { "apiName": { "type": "string", "description": "" } } } } }, "criteria": { "type": "object", "description": "" } } } } } }, "rules": { "type": "array", "description": "", "items": { "type": "object", "description": "", "properties": { "name": { "type": "string", "description": "" }, "order": { "type": "integer", "description": "" }, "criteria": { "type": "object", "description": "" }, "clusters": { "type": "array", "description": "", "items": { "type": "object", "description": "", "properties": { "id": { "type": "string", "description": "" }, "name": { "type": "string", "description": "" }, "type": { "type": "string", "description": "" }, "nodes": { "type": "array", "description": "", "items": { "type": "object", "description": "", "properties": { "id": { "type": "string", "description": "" }, "name": { "type": "string", "description": "" }, "executionType": { "type": "string", "description": "" }, "type": { "type": "string", "description": "" }, "propertyType": { "type": "string", "description": "" }, "propertyId": { "type": "string", "description": "" }, "childNodes": { "type": "array", "description": "", "items": { "type": "object", "description": "", "properties": { "id": { "type": "string", "description": "" }, "name": { "type": "string", "description": "" }, "executionType": { "type": "string", "description": "" }, "type": { "type": "string", "description": "" }, "propertyType": { "type": "string", "description": "" }, "entityInfo": { "type": "object", "description": "" }, "childNodes": { "type": "array", "description": "", "items": { "$ref": "#/$defs/items" } } } } } } } } } } } } } } }, "required": [ "departmentProperties", "engine", "name", "rules" ] }