Here is an example of usage:
Call:
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.scenes.edit",
    "params" :
     {
         "_id": "5c5318aa518af44041018347",
         "eo": {
             "_id": "5c5318aa518af44041018347",
             "enabled": true,
             "group_id": null,
             "is_group": false,
             "name": "NewR",
             "parent_id": "5c050abd518af4117b2e2496",
             "house_modes" : [
                "1",
                "2", 
                "4"
            ],
             "then": [
                 {
                      "blockOptions":{
                          "method":{
                              "args":{
                                  "item":"item",
                                  "value":"value"
                              },
                              "name":"setItemValue"
                          }
                      },
                      "blockType":"then",
                      "fields":[
                          {
                              "name":"item",
                              "type":"item",
                              "value" : "897607_32771_1"
                          },
                          {
                              "name":"value",
                              "type":"int",
                              "value": 10
                          }
                      ]
                  },
                 {
                     "blockOptions": {
                         "method": {
                             "args": {
                                 "item": "item"
                             },
                             "name": "decreaseDimmer"
                         }
                     },
                     "blockType": "then",
                     "fields": [
                         {
                             "name": "item",
                             "type": "item",
                             "value": "897607_32771_1"                                                              
                         }
                     ]
                 }
             ],
             "when": [
                 {
                     "blockOptions": {                                                           
                         "method": {
                             "args": {
                                 "item": "item",
                                 "value": "value"
                             },
                             "name": "isItemState"
                         }
                     },
                     "blockType": "when",
                     "fields": [
                         {                                                               
                             "name": "item",
                             "type": "item",
                             "value": "897607_32770_1"                                                            
                         },
                         {
                             "name": "value",
                             "type": "bool",
                             "value": true
                         }
                     ]
                 }
             ]
         },
         "permission": {
             "devices": "s",
             "ezlo": "s",
             "rules": "s",
             "ui": "s",
             "users": "s"
         },
         "sender": "_USER_",
         "serial": "_HUB_ID_"
     }
}