2022-10-22 05:02:15 +00:00
|
|
|
{
|
|
|
|
"definitions": {
|
|
|
|
"currencyEnum": {
|
|
|
|
"title": "Currency",
|
|
|
|
"type": "string",
|
|
|
|
"anyOf": [
|
|
|
|
"options_from_task_data_var:enumerations_list"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"title": "Currency Formatting",
|
|
|
|
"description": "Formats a number based on the curreny code",
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"curAmount",
|
2022-10-22 05:23:25 +00:00
|
|
|
"curCode"
|
2022-10-22 05:02:15 +00:00
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"curAmount": {
|
|
|
|
"type": "integer",
|
|
|
|
"title": "Amount to be Formatted"
|
|
|
|
},
|
2022-10-22 05:23:25 +00:00
|
|
|
"curCode": {
|
2022-10-22 05:02:15 +00:00
|
|
|
"$ref": "#/definitions/currencyEnum",
|
|
|
|
"title": "Select Currency"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|