Authorization: Bearer ********************{
"content_type": "product",
"init_node": "init",
"code": "scf",
"graph": {
"nodes": {
"web_form": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"contact": {
"type": "string",
"title": "Contact",
"description": "Contact identifier for the application",
"minLength": 3
},
"product": {
"type": "string",
"title": "Product",
"description": "Selected product type",
"enum": [
"standard",
"premium",
"express",
"basic"
]
},
"program": {
"type": "string",
"title": "Program",
"description": "Selected loan program",
"enum": [
"personal_loan",
"business_loan",
"mortgage",
"auto_loan"
]
},
"refs": {
"type": "object",
"title": "References",
"description": "Additional reference information",
"properties": {
"reference_id": {
"type": "string"
},
"source": {
"type": "string"
}
}
},
"tags": {
"type": "array",
"title": "Tag",
"description": "Application tag"
}
},
"required": [
"contact",
"program",
"product"
]
},
"ui_schema": {
"contact": {
"ui:widget": "text",
"ui:placeholder": "Enter contact ID"
},
"program": {
"ui:widget": "select",
"ui:options": {
"enumOptions": [
{
"value": "personal_loan",
"label": "Personal Loan"
},
{
"value": "business_loan",
"label": "Business Loan"
},
{
"value": "mortgage",
"label": "Mortgage"
},
{
"value": "auto_loan",
"label": "Auto Loan"
}
]
}
},
"product": {
"ui:widget": "select",
"ui:options": {
"enumOptions": [
{
"value": "standard",
"label": "Standard"
},
{
"value": "premium",
"label": "Premium"
},
{
"value": "express",
"label": "Express"
},
{
"value": "basic",
"label": "Basic"
}
]
}
},
"refs": {
"ui:widget": "object",
"ui:options": {
"collapsible": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"*"
]
}
],
"edges": [
{
"name": "submit",
"action": "navigate",
"target_node": "serializer_validate",
"updates": [
{
"path": "STORE.application_data",
"expression": "input",
"parser": "jmes"
}
]
}
]
},
"serializer_validate": {
"type": "task",
"config": {
"name": "serializer_validate",
"params": {
"serializer_class": "AccountSerializer",
"data": "${input}",
"raise_exception": true
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "validation_success",
"action": "auto",
"target_node": "limit_service",
"condition": {
"==": [
{
"var": "data.validation_passed"
},
true
]
}
},
{
"name": "validation_failed",
"action": "auto",
"target_node": "validation_error",
"condition": {
"==": [
{
"var": "data.validation_passed"
},
false
]
}
}
]
},
"limit_service": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "limit_approved",
"action": "auto",
"target_node": "check_limit",
"condition": {
"==": [
{
"var": "data.approved"
},
true
]
},
"updates": [
{
"path": "STORE.limit_data",
"expression": "data",
"parser": "jmes"
}
]
},
{
"name": "limit_rejected",
"action": "auto",
"target_node": "limit_rejection",
"condition": {
"==": [
{
"var": "data.approved"
},
false
]
}
}
]
},
"check_limit": {
"type": "task",
"config": {
"name": "check_limit_amount",
"params": {
"approved_amount": "${STORE.limit_data.approved_amount}",
"application_data": "${STORE.application_data}"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "limit_check_passed",
"action": "auto",
"target_node": "account_service",
"condition": {
">": [
{
"var": "data.approved_amount"
},
0
]
}
},
{
"name": "limit_check_failed",
"action": "auto",
"target_node": "limit_rejection",
"condition": {
"<=": [
{
"var": "data.approved_amount"
},
0
]
}
}
]
},
"account_service": {
"type": "api_request",
"config": {
"url": "${SECRET.account_service_url}/setup",
"method": "POST",
"headers": {
"Authorization": "Bearer ${SECRET.account_service_token}",
"Content-Type": "application/json"
},
"body": {
"contact": "${STORE.application_data.contact}",
"program": "${STORE.application_data.program}",
"product": "${STORE.application_data.product}",
"approved_amount": "${STORE.limit_data.approved_amount}",
"refs": "${STORE.application_data.refs}",
"tags": "${STORE.application_data.tags}"
},
"response_type": "json"
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "account_setup_success",
"action": "auto",
"target_node": "create_entities",
"condition": {
"==": [
{
"var": "data._status_code"
},
200
]
},
"updates": [
{
"path": "STORE.account_data",
"expression": "data",
"parser": "jmes"
}
]
},
{
"name": "account_setup_failed",
"action": "auto",
"target_node": "account_error",
"condition": {
"!=": [
{
"var": "data._status_code"
},
200
]
}
}
]
},
"create_entities": {
"type": "task",
"config": {
"name": "create_account_and_config",
"params": {
"account_data": "${STORE.account_data}",
"application_data": "${STORE.application_data}",
"limit_data": "${STORE.limit_data}"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "entities_created",
"action": "auto",
"target_node": "check_multibranch",
"condition": {
"==": [
{
"var": "data.success"
},
true
]
},
"updates": [
{
"path": "STORE.created_entities",
"expression": "data.created_entities",
"parser": "jmes"
}
]
},
{
"name": "entities_creation_failed",
"action": "auto",
"target_node": "creation_error",
"condition": {
"==": [
{
"var": "data.success"
},
false
]
}
}
]
},
"check_multibranch": {
"type": "task",
"config": {
"name": "check_store_config",
"params": {
"config_key": "is_multibranch"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "multibranch_true",
"action": "auto",
"target_node": "calculate_deductions",
"condition": {
"==": [
{
"var": "data.is_multibranch"
},
true
]
}
},
{
"name": "multibranch_false",
"action": "auto",
"target_node": "success_page",
"condition": {
"==": [
{
"var": "data.is_multibranch"
},
false
]
}
}
]
},
"success_page": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"default": "Account is created successfully!",
"ui:readonly": true
},
"account_id": {
"type": "string",
"default": "${STORE.created_entities.account_id}",
"ui:readonly": true
},
"config_id": {
"type": "string",
"default": "${STORE.created_entities.config_id}",
"ui:readonly": true
},
"limit_id": {
"type": "string",
"default": "${STORE.created_entities.limit_id}",
"ui:readonly": true
},
"status": {
"type": "string",
"default": "Active",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": [
{
"name": "continue",
"action": "navigate",
"target_node": "calculate_deductions"
}
]
},
"calculate_deductions": {
"type": "task",
"config": {
"name": "calculate_deductions",
"params": {
"limits": "${STORE.limit_data}",
"config": "${STORE.created_entities.config}",
"application_data": "${STORE.application_data}"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": []
},
"validation_error": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Validation failed. Please check your input and try again.",
"ui:readonly": true
},
"details": {
"type": "string",
"default": "${data.validation_errors}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
},
"limit_rejection": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Limit check failed. Your application does not meet the required criteria.",
"ui:readonly": true
},
"reason": {
"type": "string",
"default": "${data.reason}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
},
"account_error": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Account setup failed. Please contact support.",
"ui:readonly": true
},
"error_code": {
"type": "string",
"default": "${data.error_code}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
},
"creation_error": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Failed to create account entities. Please try again.",
"ui:readonly": true
},
"details": {
"type": "string",
"default": "${data.error_details}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
}
},
"init_node": "web_form",
"end_node": "calculate_deductions"
},
"secret": {
"account_service_url": "localhost",
"account_service_token": "YOUR_TOKEN_HERE"
},
"ref_id":"23456"
}
curl --location --request POST 'https://preprod.api.crego.io/workflows/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"content_type": "product",
"init_node": "init",
"code": "scf",
"graph": {
"nodes": {
"web_form": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"contact": {
"type": "string",
"title": "Contact",
"description": "Contact identifier for the application",
"minLength": 3
},
"product": {
"type": "string",
"title": "Product",
"description": "Selected product type",
"enum": [
"standard",
"premium",
"express",
"basic"
]
},
"program": {
"type": "string",
"title": "Program",
"description": "Selected loan program",
"enum": [
"personal_loan",
"business_loan",
"mortgage",
"auto_loan"
]
},
"refs": {
"type": "object",
"title": "References",
"description": "Additional reference information",
"properties": {
"reference_id": {
"type": "string"
},
"source": {
"type": "string"
}
}
},
"tags": {
"type": "array",
"title": "Tag",
"description": "Application tag"
}
},
"required": [
"contact",
"program",
"product"
]
},
"ui_schema": {
"contact": {
"ui:widget": "text",
"ui:placeholder": "Enter contact ID"
},
"program": {
"ui:widget": "select",
"ui:options": {
"enumOptions": [
{
"value": "personal_loan",
"label": "Personal Loan"
},
{
"value": "business_loan",
"label": "Business Loan"
},
{
"value": "mortgage",
"label": "Mortgage"
},
{
"value": "auto_loan",
"label": "Auto Loan"
}
]
}
},
"product": {
"ui:widget": "select",
"ui:options": {
"enumOptions": [
{
"value": "standard",
"label": "Standard"
},
{
"value": "premium",
"label": "Premium"
},
{
"value": "express",
"label": "Express"
},
{
"value": "basic",
"label": "Basic"
}
]
}
},
"refs": {
"ui:widget": "object",
"ui:options": {
"collapsible": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"*"
]
}
],
"edges": [
{
"name": "submit",
"action": "navigate",
"target_node": "serializer_validate",
"updates": [
{
"path": "STORE.application_data",
"expression": "input",
"parser": "jmes"
}
]
}
]
},
"serializer_validate": {
"type": "task",
"config": {
"name": "serializer_validate",
"params": {
"serializer_class": "AccountSerializer",
"data": "${input}",
"raise_exception": true
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "validation_success",
"action": "auto",
"target_node": "limit_service",
"condition": {
"==": [
{
"var": "data.validation_passed"
},
true
]
}
},
{
"name": "validation_failed",
"action": "auto",
"target_node": "validation_error",
"condition": {
"==": [
{
"var": "data.validation_passed"
},
false
]
}
}
]
},
"limit_service": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "limit_approved",
"action": "auto",
"target_node": "check_limit",
"condition": {
"==": [
{
"var": "data.approved"
},
true
]
},
"updates": [
{
"path": "STORE.limit_data",
"expression": "data",
"parser": "jmes"
}
]
},
{
"name": "limit_rejected",
"action": "auto",
"target_node": "limit_rejection",
"condition": {
"==": [
{
"var": "data.approved"
},
false
]
}
}
]
},
"check_limit": {
"type": "task",
"config": {
"name": "check_limit_amount",
"params": {
"approved_amount": "${STORE.limit_data.approved_amount}",
"application_data": "${STORE.application_data}"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "limit_check_passed",
"action": "auto",
"target_node": "account_service",
"condition": {
">": [
{
"var": "data.approved_amount"
},
0
]
}
},
{
"name": "limit_check_failed",
"action": "auto",
"target_node": "limit_rejection",
"condition": {
"<=": [
{
"var": "data.approved_amount"
},
0
]
}
}
]
},
"account_service": {
"type": "api_request",
"config": {
"url": "${SECRET.account_service_url}/setup",
"method": "POST",
"headers": {
"Authorization": "Bearer ${SECRET.account_service_token}",
"Content-Type": "application/json"
},
"body": {
"contact": "${STORE.application_data.contact}",
"program": "${STORE.application_data.program}",
"product": "${STORE.application_data.product}",
"approved_amount": "${STORE.limit_data.approved_amount}",
"refs": "${STORE.application_data.refs}",
"tags": "${STORE.application_data.tags}"
},
"response_type": "json"
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "account_setup_success",
"action": "auto",
"target_node": "create_entities",
"condition": {
"==": [
{
"var": "data._status_code"
},
200
]
},
"updates": [
{
"path": "STORE.account_data",
"expression": "data",
"parser": "jmes"
}
]
},
{
"name": "account_setup_failed",
"action": "auto",
"target_node": "account_error",
"condition": {
"!=": [
{
"var": "data._status_code"
},
200
]
}
}
]
},
"create_entities": {
"type": "task",
"config": {
"name": "create_account_and_config",
"params": {
"account_data": "${STORE.account_data}",
"application_data": "${STORE.application_data}",
"limit_data": "${STORE.limit_data}"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "entities_created",
"action": "auto",
"target_node": "check_multibranch",
"condition": {
"==": [
{
"var": "data.success"
},
true
]
},
"updates": [
{
"path": "STORE.created_entities",
"expression": "data.created_entities",
"parser": "jmes"
}
]
},
{
"name": "entities_creation_failed",
"action": "auto",
"target_node": "creation_error",
"condition": {
"==": [
{
"var": "data.success"
},
false
]
}
}
]
},
"check_multibranch": {
"type": "task",
"config": {
"name": "check_store_config",
"params": {
"config_key": "is_multibranch"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": [
{
"name": "multibranch_true",
"action": "auto",
"target_node": "calculate_deductions",
"condition": {
"==": [
{
"var": "data.is_multibranch"
},
true
]
}
},
{
"name": "multibranch_false",
"action": "auto",
"target_node": "success_page",
"condition": {
"==": [
{
"var": "data.is_multibranch"
},
false
]
}
}
]
},
"success_page": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"default": "Account is created successfully!",
"ui:readonly": true
},
"account_id": {
"type": "string",
"default": "${STORE.created_entities.account_id}",
"ui:readonly": true
},
"config_id": {
"type": "string",
"default": "${STORE.created_entities.config_id}",
"ui:readonly": true
},
"limit_id": {
"type": "string",
"default": "${STORE.created_entities.limit_id}",
"ui:readonly": true
},
"status": {
"type": "string",
"default": "Active",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": [
{
"name": "continue",
"action": "navigate",
"target_node": "calculate_deductions"
}
]
},
"calculate_deductions": {
"type": "task",
"config": {
"name": "calculate_deductions",
"params": {
"limits": "${STORE.limit_data}",
"config": "${STORE.created_entities.config}",
"application_data": "${STORE.application_data}"
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"auto"
]
}
],
"edges": []
},
"validation_error": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Validation failed. Please check your input and try again.",
"ui:readonly": true
},
"details": {
"type": "string",
"default": "${data.validation_errors}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
},
"limit_rejection": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Limit check failed. Your application does not meet the required criteria.",
"ui:readonly": true
},
"reason": {
"type": "string",
"default": "${data.reason}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
},
"account_error": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Account setup failed. Please contact support.",
"ui:readonly": true
},
"error_code": {
"type": "string",
"default": "${data.error_code}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
},
"creation_error": {
"type": "form",
"config": {
"schema": {
"type": "object",
"properties": {
"error_message": {
"type": "string",
"default": "Failed to create account entities. Please try again.",
"ui:readonly": true
},
"details": {
"type": "string",
"default": "${data.error_details}",
"ui:readonly": true
}
}
}
},
"permissions": [
{
"roles": [
"*"
],
"actions": [
"get"
]
}
],
"edges": []
}
},
"init_node": "web_form",
"end_node": "calculate_deductions"
},
"secret": {
"account_service_url": "localhost",
"account_service_token": "YOUR_TOKEN_HERE"
},
"ref_id":"23456"
}'{
"id": "string",
"created_at": "string",
"updated_at": "string",
"resource": "string",
"init_node": "string",
"graph": {
"nodes": {
"init": {
"type": "string",
"config": {
"forms": [
{
"action": "string",
"schema": {
"title": "string",
"description": "string",
"type": "string",
"properties": {
"product": {
"type": "string",
"properties": {
"name": {
"type": "string",
"title": "string",
"minLength": 0
},
"ref_id": {
"type": "string",
"title": "string",
"description": "string",
"minLength": 0
},
"status": {
"type": "string",
"title": "string",
"enum": [
"string"
],
"enumNames": [
"string"
],
"default": "string"
},
"tags": {
"type": "string",
"title": "string",
"description": "string",
"default": "string"
},
"refs": {
"type": "string",
"title": "string",
"description": "string",
"default": "string"
}
},
"required": [
"string"
]
}
}
},
"ui": {
"product": {
"ui:label": true,
"name": {
"ui:widget": "string",
"ui:placeholder": "string"
},
"ref_id": {
"ui:widget": "string",
"ui:placeholder": "string"
},
"status": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"tags": {
"ui:widget": "string",
"ui:placeholder": "string",
"ui:options": {
"rows": 0
}
},
"refs": {
"ui:widget": "string",
"ui:placeholder": "string",
"ui:options": {
"rows": 0
}
}
}
}
}
]
},
"permissions": [
{
"roles": [
"string"
],
"actions": [
"string"
]
}
],
"edges": [
{
"action": "string",
"update_store": {
"templates": [
{
"template": {
"path": "string",
"value": "string"
},
"parser": "string"
}
],
"parser": "string"
},
"target_node": "string"
}
]
},
"product_config": {
"type": "string",
"config": {
"forms": [
{
"action": "string",
"schema": {
"title": "string",
"description": "string",
"type": "string",
"properties": {
"config": {
"type": "string",
"properties": {
"is_multi_loan": {
"type": "string",
"title": "string",
"default": true
},
"is_multi_tranche": {
"type": "string",
"title": "string",
"default": true
},
"schedule": {
"type": "string",
"title": "string",
"properties": {
"pre_emi_count": {
"type": "string",
"title": "string",
"minimum": 0,
"default": 0
},
"frequency": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"schedule_count": {
"type": "string",
"title": "string",
"minimum": 0,
"default": 0
},
"include_start_date": {
"type": "string",
"title": "string",
"default": true
},
"days_in_month": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"days_in_year": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"bpi_settlement": {
"type": "string",
"title": "string",
"items": {
"enum": []
},
"uniqueItems": true,
"default": [
null
]
},
"roi": {
"type": "string",
"title": "string",
"properties": {
"rate_type": {},
"base_rate": {},
"spread": {},
"shares": {}
},
"required": [
null
]
},
"expression_order": {
"type": "string",
"title": "string",
"items": {
"enum": []
},
"uniqueItems": true,
"default": [
null
]
}
},
"required": [
"string"
]
},
"tenure": {
"type": "string",
"title": "string",
"properties": {
"value": {
"type": "string",
"title": "string",
"minimum": 0,
"default": 0
},
"unit": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"days_in_month_calculation": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"days_in_year_calculation": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
}
},
"required": [
"string"
]
},
"common_settings": {
"type": "string",
"title": "string",
"properties": {
"tax_label": {
"type": "string",
"title": "string",
"default": "string"
},
"currency_code": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"decimal_precision": {
"type": "string",
"title": "string",
"minimum": 0,
"maximum": 0,
"default": 0
},
"rounding_method": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"holiday_calendar_type": {
"type": "string",
"title": "string",
"enum": [
null
],
"enumNames": [
null
],
"default": "string"
},
"npa_threshold_dpd": {
"type": "string",
"title": "string",
"minimum": 0,
"default": 0
},
"business_days": {
"type": "string",
"title": "string",
"items": {
"enum": []
},
"uniqueItems": true,
"default": [
null
]
}
},
"required": [
"string"
]
}
},
"required": [
"string"
]
}
}
},
"ui": {
"config": {
"ui:label": true,
"is_multi_loan": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"is_multi_tranche": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"schedule": {
"pre_emi_count": {
"ui:widget": "string"
},
"frequency": {
"ui:widget": "string"
},
"schedule_count": {
"ui:widget": "string"
},
"include_start_date": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"days_in_month": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"days_in_year": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"bpi_settlement": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"roi": {
"rate_type": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"base_rate": {
"ui:widget": "string",
"ui:options": {
"step": 0
}
},
"spread": {
"ui:widget": "string",
"ui:options": {
"step": 0
}
},
"shares": {
"ui:options": {
"addable": true,
"orderable": true,
"removable": true
},
"items": {
"share_code": {
"ui:widget": "string",
"ui:placeholder": "string"
},
"percentage_share": {
"ui:widget": "string",
"ui:options": {}
}
}
}
},
"expression_order": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
}
},
"tenure": {
"value": {
"ui:widget": "string"
},
"unit": {
"ui:widget": "string"
},
"days_in_month_calculation": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
},
"days_in_year_calculation": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
}
},
"common_settings": {
"tax_label": {
"ui:widget": "string",
"ui:placeholder": "string"
},
"currency_code": {
"ui:widget": "string"
},
"decimal_precision": {
"ui:widget": "string"
},
"rounding_method": {
"ui:widget": "string"
},
"holiday_calendar_type": {
"ui:widget": "string"
},
"npa_threshold_dpd": {
"ui:widget": "string"
},
"business_days": {
"ui:widget": "string",
"ui:options": {
"inline": true
}
}
}
}
}
}
]
},
"permissions": [
{
"roles": [
"string"
],
"actions": [
"string"
]
}
],
"edges": [
{
"action": "string",
"update_store": {
"templates": [
{
"template": {
"path": "string",
"value": "string"
},
"parser": "string"
}
],
"parser": "string"
},
"target_node": "string"
}
]
},
"pending_approval": {
"type": "string",
"config": {
"forms": [
{
"type": "string",
"layout": [
{
"type": "string",
"title": "string",
"className": "string",
"elements": [
{
"type": "string",
"data": [
{
"label": "string",
"value": "string"
}
]
}
],
"data": "string",
"body": [
{
"head": "string",
"value": "string",
"type": "string",
"transform": "string",
"className": "string",
"targetOnRefresh": "string",
"items": [
{
"icon": "string",
"className": "string",
"tooltip": "string",
"title": "string",
"condition": [
"string"
],
"form": {
"action": "string",
"start_node": "string",
"path": "string",
"schema": {
"properties": {},
"required": []
},
"ui": {
"comment": {},
"status": {}
}
}
}
]
}
]
}
]
}
]
},
"permissions": [
{
"roles": [
"string"
],
"actions": [
"string"
]
}
],
"edges": [
{
"action": "string",
"condition": {
"template": "string",
"parser": "string"
},
"target_node": "string",
"update_store": {
"templates": [
{
"template": {
"path": "string",
"value": {
"product_details": "string",
"configuration": "string",
"approval_details": "string",
"created_at": "string",
"status": "string"
}
},
"parser": "string"
}
],
"parser": "string"
}
}
]
},
"active": {
"type": "string",
"config": {
"forms": [
{
"type": "string",
"layout": [
{
"className": "string",
"elements": [
{
"type": "string",
"className": "string",
"style": "string",
"tag": "string",
"text": "string",
"title": "string",
"data": [
{
"label": "string",
"value": "string"
}
]
}
]
}
]
}
]
},
"permissions": [
{
"roles": [
"string"
],
"actions": [
"string"
]
}
],
"edges": [
null
]
},
"product_rejected": {
"type": "string",
"config": {
"forms": [
{
"type": "string",
"layout": [
{
"className": "string",
"elements": [
{
"type": "string",
"className": "string",
"style": "string",
"tag": "string",
"text": "string",
"variant": "string",
"title": "string",
"items": [
{
"action": "string",
"className": "string",
"target_node": "string",
"text": "string"
}
]
}
]
}
]
}
]
},
"permissions": [
{
"roles": [
"string"
],
"actions": [
"string"
]
}
]
}
},
"start_node": "string"
},
"params": null,
"secret": {
"url": "string"
},
"created_by": "string",
"updated_by": null
}