{
  "algorithm": {
    "parameters": [
      {
        "name": "regionId",
        "type": "string"
      },
      {
        "name": "args",
        "type": "ArgsChangeParentRegion"
      }
    ],
    "statements": [],
    "typeReturn": "Region",
    "variables": []
  },
  "routing": {
    "method": "PATCH",
    "parameters": [
      {
        "bind": "regionId",
        "in": "Path",
        "name": "regionId",
        "remarks": "regionId"
      },
      {
        "bind": "args.parentRegionId",
        "in": "Query",
        "name": "parentRegionId",
        "remarks": "parentRegionId"
      }
    ],
    "path": "/catalog/regions/{regionId}/changeParent",
    "remarks": "Change parent Region",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "BadRequest",
        "httpStatus": "400",
        "remarks": "Bad request"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not found"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "Error"
      }
    ]
  }
}