{
    "definitions": {
        "Instance": {
            "properties": {
                "data": {
                    "properties": {
                        "compatibleInstances": {
                            "description": "Array of compatible plug-ins",
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        },
                        "family": {
                            "description": "Family of instance",
                            "type": "string"
                        }
                    },
                    "required": [
                        "family"
                    ],
                    "type": "object"
                },
                "name": {
                    "description": "Name of instance",
                    "type": "string"
                }
            },
            "required": [
                "name",
                "data"
            ],
            "type": "object"
        },
        "Plugin": {
            "properties": {
                "data": {
                    "properties": {
                        "canProcessContext": {
                            "description": "Whether or not the plug-in has implemented Context processing",
                            "type": "boolean"
                        },
                        "canProcessInstance": {
                            "description": "Whether or not the plug-in has implemented Instance processing",
                            "type": "boolean"
                        },
                        "canRepairContext": {
                            "description": "Whether or not the plug-in has implemented Instance repair",
                            "type": "boolean"
                        },
                        "canRepairInstance": {
                            "description": "Whether or not the plug-in has implemented Instance repair",
                            "type": "boolean"
                        },
                        "compatibleInstances": {
                            "description": "Array of compatible instances",
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        },
                        "doc": {
                            "type": [
                                "string",
                                "null"
                            ]
                        },
                        "families": {
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        },
                        "hasCompatible": {
                            "type": "boolean"
                        },
                        "hasRepair": {
                            "type": "boolean"
                        },
                        "module": {
                            "type": "string"
                        },
                        "optional": {
                            "type": "boolean"
                        },
                        "order": {
                            "type": "number"
                        },
                        "type": {
                            "type": "string"
                        },
                        "version": {
                            "items": {
                                "type": "integer"
                            },
                            "maxItems": 3,
                            "minItems": 3,
                            "type": "array"
                        }
                    },
                    "required": [
                        "families"
                    ],
                    "type": "object"
                },
                "name": {
                    "description": "",
                    "type": "string"
                }
            },
            "required": [
                "name",
                "data"
            ],
            "type": "object"
        }
    },
    "description": "Current state of host",
    "properties": {
        "context": {
            "description": "Context",
            "properties": {
                "children": {
                    "description": "Instances",
                    "items": {
                        "$ref": "#/definitions/Instance"
                    },
                    "type": "array"
                },
                "data": {
                    "description": "Data of context",
                    "type": "object"
                }
            },
            "type": "object"
        },
        "plugins": {
            "description": "Collection of plug-ins",
            "items": {
                "$ref": "#/definitions/Plugin"
            },
            "type": "array"
        }
    },
    "required": [
        "context",
        "plugins"
    ],
    "title": "State",
    "type": "object"
}