{
    "description": "An instance of <a href=\"#plugin-instance\">a plugin instance</a>.",
    "properties": {
        "actions": {
            "description": "A list actions associated to this plugin.",
            "example": [
                "action-awesome-thing",
                "action-more-awesome"
            ],
            "items": {
                "type": "string"
            },
            "title": "Actions",
            "type": "array"
        },
        "data": {
            "description": "The eventual data associated to the plugin, specific to each plugin.",
            "example": {},
            "title": "Data",
            "type": "object"
        },
        "enabled": {
            "description": "Is the instance enabled ?",
            "example": true,
            "title": "Enable",
            "type": "boolean"
        },
        "engine": {
            "description": "The UID of the engine the instance is of.",
            "example": "com.awesome.plugin",
            "title": "Engine UID",
            "type": "string"
        },
        "events": {
            "description": "Events to react to, specific to each plugin.",
            "example": {
                "onClick": [
                    "action-awesome-thing"
                ]
            },
            "title": "Events",
            "type": "object"
        },
        "index": {
            "description": "The index of the plugin on the screen.",
            "example": 10,
            "title": "Index",
            "type": "number"
        },
        "keep": {
            "description": "Do we need to keep the plugin ?",
            "example": false,
            "title": "Keeping",
            "type": "boolean"
        },
        "options": {
            "description": "The options of this instance, specific and different for each plugin.",
            "example": {
                "another_options": {
                    "enabled": true,
                    "target": "scene-1"
                },
                "awesomeness": 360,
                "key": "i18n-awesome"
            },
            "title": "Options",
            "type": "object"
        },
        "scenes": {
            "description": "The list of UID of scenes associated to the instance.",
            "example": [
                "scene-0",
                "scene-2"
            ],
            "items": {
                "type": "string"
            },
            "title": "Scenes",
            "type": "array"
        },
        "tags": {
            "description": "A list of tags.",
            "example": [
                "plugin",
                "beach",
                "awesome"
            ],
            "items": {
                "type": "string"
            },
            "title": "Tags",
            "type": "array"
        },
        "uid": {
            "description": "The UID of the instance.",
            "example": "awesome-plugin-instance",
            "title": "UID",
            "type": "string"
        }
    },
    "required": [
        "uid",
        "tags",
        "options",
        "actions",
        "events"
    ],
    "title": "PluginInstanceConfig",
    "type": "object"
}