from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import json

module_definition = json.loads(
    """{
    "family": "software_image_management_swim",
    "name": "trigger_image_activation",
    "operations": {
        "post": [
            "trigger_software_image_activation"
        ]
    },
    "parameters": {
        "trigger_software_image_activation": [
            {
                "name": "schedule_validate",
                "required": false,
                "type": "boolean"
            },
            {
                "array_type": "object",
                "name": "payload",
                "required": true,
                "schema": [
                    {
                        "name": "activateLowerImageVersion",
                        "required": false,
                        "type": "boolean"
                    },
                    {
                        "name": "deviceUpgradeMode",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "deviceUuid",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "distributeIfNeeded",
                        "required": false,
                        "type": "boolean"
                    },
                    {
                        "array_type": "string",
                        "name": "imageUuidList",
                        "required": false,
                        "schema": [],
                        "type": "array"
                    },
                    {
                        "array_type": "string",
                        "name": "smuImageUuidList",
                        "required": false,
                        "schema": [],
                        "type": "array"
                    }
                ],
                "type": "array"
            }
        ]
    },
    "responses": {
        "trigger_software_image_activation": {
            "properties": [
                "response",
                "version"
            ],
            "type": "object"
        }
    }
}"""
)

[((5, 20, 75, 1), 'json.loads', 'json.loads', ({(6, 4, 74, 4): '"""{\n    "family": "software_image_management_swim",\n    "name": "trigger_image_activation",\n    "operations": {\n        "post": [\n            "trigger_software_image_activation"\n        ]\n    },\n    "parameters": {\n        "trigger_software_image_activation": [\n            {\n                "name": "schedule_validate",\n                "required": false,\n                "type": "boolean"\n            },\n            {\n                "array_type": "object",\n                "name": "payload",\n                "required": true,\n                "schema": [\n                    {\n                        "name": "activateLowerImageVersion",\n                        "required": false,\n                        "type": "boolean"\n                    },\n                    {\n                        "name": "deviceUpgradeMode",\n                        "required": false,\n                        "type": "string"\n                    },\n                    {\n                        "name": "deviceUuid",\n                        "required": false,\n                        "type": "string"\n                    },\n                    {\n                        "name": "distributeIfNeeded",\n                        "required": false,\n                        "type": "boolean"\n                    },\n                    {\n                        "array_type": "string",\n                        "name": "imageUuidList",\n                        "required": false,\n                        "schema": [],\n                        "type": "array"\n                    },\n                    {\n                        "array_type": "string",\n                        "name": "smuImageUuidList",\n                        "required": false,\n                        "schema": [],\n                        "type": "array"\n                    }\n                ],\n                "type": "array"\n            }\n        ]\n    },\n    "responses": {\n        "trigger_software_image_activation": {\n            "properties": [\n                "response",\n                "version"\n            ],\n            "type": "object"\n        }\n    }\n}"""'}, {}), '(\n    """{\n    "family": "software_image_management_swim",\n    "name": "trigger_image_activation",\n    "operations": {\n        "post": [\n            "trigger_software_image_activation"\n        ]\n    },\n    "parameters": {\n        "trigger_software_image_activation": [\n            {\n                "name": "schedule_validate",\n                "required": false,\n                "type": "boolean"\n            },\n            {\n                "array_type": "object",\n                "name": "payload",\n                "required": true,\n                "schema": [\n                    {\n                        "name": "activateLowerImageVersion",\n                        "required": false,\n                        "type": "boolean"\n                    },\n                    {\n                        "name": "deviceUpgradeMode",\n                        "required": false,\n                        "type": "string"\n                    },\n                    {\n                        "name": "deviceUuid",\n                        "required": false,\n                        "type": "string"\n                    },\n                    {\n                        "name": "distributeIfNeeded",\n                        "required": false,\n                        "type": "boolean"\n                    },\n                    {\n                        "array_type": "string",\n                        "name": "imageUuidList",\n                        "required": false,\n                        "schema": [],\n                        "type": "array"\n                    },\n                    {\n                        "array_type": "string",\n                        "name": "smuImageUuidList",\n                        "required": false,\n                        "schema": [],\n                        "type": "array"\n                    }\n                ],\n                "type": "array"\n            }\n        ]\n    },\n    "responses": {\n        "trigger_software_image_activation": {\n            "properties": [\n                "response",\n                "version"\n            ],\n            "type": "object"\n        }\n    }\n}"""\n    )', False, 'import json\n')]