{
    "$schema": "http://json-schema.org/draft-04/schema",
    "definitions": {
        "TcHmi.Controls.Beckhoff.TcHmiAdsState": {
            "type": "object",
            "frameworkInstanceOf": "TcHmi.Controls.System.TcHmiControl",
            "frameworkControlType": "TcHmiAdsState",
            "frameworkControlNamespace": "TcHmi.Controls.Beckhoff"
        },
        "TcHmiAdsState": {
            "$ref": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiAdsState"
        },
        "TcHmi.Controls.Beckhoff.TcHmiAdsState.StateImages": {
            "type": "object",
            "title": "StateImages",
            "description": "A structure defining an image for each state the control can have and the fallback image.",
            "propertiesMeta": [
                {
                    "name": "Fallback",
                    "displayName": "Fallback",
                    "category": "General",
                    "displayPriority": 1,
                    "description": "The Fallback Image if a state is not defined.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Invalid",
                    "displayName": "Invalid",
                    "category": "General",
                    "displayPriority": 2,
                    "description": "The Image for the State 'Invalid'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Idle",
                    "displayName": "Idle",
                    "category": "General",
                    "displayPriority": 3,
                    "description": "The Image for the State 'Idle'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Reset",
                    "displayName": "Reset",
                    "category": "General",
                    "displayPriority": 4,
                    "description": "The Image for the State 'Reset'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Init",
                    "displayName": "Init",
                    "category": "General",
                    "displayPriority": 5,
                    "description": "The Image for the State 'Init'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Start",
                    "displayName": "Start",
                    "category": "General",
                    "displayPriority": 6,
                    "description": "The Image for the State 'Start'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Run",
                    "displayName": "Run",
                    "category": "General",
                    "displayPriority": 7,
                    "description": "The Image for the State 'Run'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Stop",
                    "displayName": "Stop",
                    "category": "General",
                    "displayPriority": 8,
                    "description": "The Image for the State 'Stop'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "SaveCfg",
                    "displayName": "SaveCfg",
                    "category": "General",
                    "displayPriority": 9,
                    "description": "The Image for the State 'SaveCfg'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "LoadCfg",
                    "displayName": "LoadCfg",
                    "category": "General",
                    "displayPriority": 10,
                    "description": "The Image for the State 'LoadCfg'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "PowerFailure",
                    "displayName": "PowerFailure",
                    "category": "General",
                    "displayPriority": 11,
                    "description": "The Image for the State 'PowerFailure'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "PowerGood",
                    "displayName": "PowerGood",
                    "category": "General",
                    "displayPriority": 12,
                    "description": "The Image for the State 'PowerGood'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Error",
                    "displayName": "Error",
                    "category": "General",
                    "displayPriority": 13,
                    "description": "The Image for the State 'Error'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Shutdown",
                    "displayName": "Shutdown",
                    "category": "General",
                    "displayPriority": 14,
                    "description": "The Image for the State 'Shutdown'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Suspend",
                    "displayName": "Suspend",
                    "category": "General",
                    "displayPriority": 15,
                    "description": "The Image for the State 'Suspend'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Resume",
                    "displayName": "Resume",
                    "category": "General",
                    "displayPriority": 16,
                    "description": "The Image for the State 'Resume'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Config",
                    "displayName": "Config",
                    "category": "General",
                    "displayPriority": 17,
                    "description": "The Image for the State 'Config'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Reconfig",
                    "displayName": "Reconfig",
                    "category": "General",
                    "displayPriority": 18,
                    "description": "The Image for the State 'Reconfig'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Stopping",
                    "displayName": "Stopping",
                    "category": "General",
                    "displayPriority": 19,
                    "description": "The Image for the State 'Stopping'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Incompatible",
                    "displayName": "Incompatible",
                    "category": "General",
                    "displayPriority": 20,
                    "description": "The Image for the State 'Incompatible'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                },
                {
                    "name": "Exception",
                    "displayName": "Exception",
                    "category": "General",
                    "displayPriority": 21,
                    "description": "The Image for the State 'Exception'.",
                    "defaultValue": null,
                    "defaultValueInternal": null
                }
            ],
            "properties": {
                "Fallback": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Invalid": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Idle": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Reset": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Init": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Start": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Run": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Stop": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "SaveCfg": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "LoadCfg": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "PowerFailure": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "PowerGood": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Error": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Shutdown": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Suspend": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Resume": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Config": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Reconfig": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Stopping": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Incompatible": {
                    "$ref": "tchmi:framework#/definitions/Path"
                },
                "Exception": {
                    "$ref": "tchmi:framework#/definitions/Path"
                }
            }
        }
    }
}
