text: # GENERATED BY KOMAND SDK - DO NOT EDIT
  import komand
  import json
  
  
  class Input:
      ARRAY = "array"
      KEY = "key"
      OBJECT = "object"
      VALUE = "value"
      
  
  class Output:
      JSON = "json"
      
  
  class UpdateInput(komand.Input):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "array": {
        "type": "array",
        "title": "Array",
        "description": "Array of JSON objects",
        "items": {
          "type": "object"
        },
        "order": 2
      },
      "key": {
        "type": "string",
        "title": "Key",
        "description": "JSON key to update",
        "order": 3
      },
      "object": {
        "type": "object",
        "title": "Object",
        "description": "JSON object",
        "order": 1
      },
      "value": {
        "type": "string",
        "title": "Value",
        "description": "New value",
        "order": 4
      }
    },
    "required": [
      "key",
      "value"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  
  
  class UpdateOutput(komand.Output):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "json": {
        "type": "array",
        "title": "JSON",
        "description": "Array of objects",
        "items": {
          "type": "object"
        },
        "order": 1
      }
    },
    "required": [
      "json"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  