# GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json


class Component:
    DESCRIPTION = "Creates a security policy with the default values"


class Input:
    NAME = "name"
    

class Output:
    ID = "id"
    

class CreateSecurityPolicyInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The name of the security policy that needs to be created",
      "order": 1
    }
  },
  "required": [
    "name"
  ]
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)


class CreateSecurityPolicyOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "id": {
      "type": "string",
      "title": "ID",
      "description": "ID of the new policy",
      "order": 1
    }
  },
  "required": [
    "id"
  ]
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)

[((19, 13, 35, 8), 'json.loads', 'json.loads', ({(19, 24, 35, 7): '"""\n   {\n  "type": "object",\n  "title": "Variables",\n  "properties": {\n    "name": {\n      "type": "string",\n      "title": "Name",\n      "description": "The name of the security policy that needs to be created",\n      "order": 1\n    }\n  },\n  "required": [\n    "name"\n  ]\n}\n    """'}, {}), '(\n    """\n   {\n  "type": "object",\n  "title": "Variables",\n  "properties": {\n    "name": {\n      "type": "string",\n      "title": "Name",\n      "description": "The name of the security policy that needs to be created",\n      "order": 1\n    }\n  },\n  "required": [\n    "name"\n  ]\n}\n    """\n    )', False, 'import json\n'), ((42, 13, 58, 8), 'json.loads', 'json.loads', ({(42, 24, 58, 7): '"""\n   {\n  "type": "object",\n  "title": "Variables",\n  "properties": {\n    "id": {\n      "type": "string",\n      "title": "ID",\n      "description": "ID of the new policy",\n      "order": 1\n    }\n  },\n  "required": [\n    "id"\n  ]\n}\n    """'}, {}), '(\n    """\n   {\n  "type": "object",\n  "title": "Variables",\n  "properties": {\n    "id": {\n      "type": "string",\n      "title": "ID",\n      "description": "ID of the new policy",\n      "order": 1\n    }\n  },\n  "required": [\n    "id"\n  ]\n}\n    """\n    )', False, 'import json\n')]