{
    "exposeRootElement": true,
    "type": [
        "actionable",
        "editable"
    ],
    "shadow": {
        "elements": [
            {
                "name": "input",
                "type": [
                    "actionable",
                    "clickable",
                    "editable"
                ],
                "selector": {
                    "css": "input"
                }
            },
            {
                "name": "label",
                "selector": {
                    "css": ".slds-form-element__label"
                }
            },
            {
                "name": "errorMessageElem",
                "selector": {
                    "css": ".slds-form-element__help"
                },
                "nullable": true
            },
            {
                "name": "optionLabels",
                "public": true,
                "selector": {
                    "css": "fieldset .slds-checkbox__label > .slds-form-element__label",
                    "returnAll": true
                }
            },
            {
                "name": "checkBox",
                "type": "clickable",
                "selector": {
                    "css": "div.slds-checkbox",
                    "returnAll": true
                }
            },
            {
                "name": "ImageCheckBox",
                "type": "clickable",
                "selector": {
                    "css": ".slds-img-item_select-container",
                    "returnAll": true
                }
            },
            {
                "name": "checkBoxAtIndex",
                "type": "container",
                "selector": {
                    "css": ".slds-checkbox_faux:nth-of-type(%d)",
                    "args": [
                        {
                            "name": "index",
                            "type": "number"
                        }
                    ]
                }
            },
            {
                "name": "helpIcon",
                "public": true,
                "type": "utam-omnistudio-common/pageObjects/tooltip",
                "selector": {
                    "css": "runtime_omnistudio_common-tooltip"
                }
            }
        ]
    },
    "methods": [
        {
            "name": "getCheckBoxLabels",
            "compose": [
                {
                    "element": "optionLabels",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "getCheckBoxes",
            "compose": [
                {
                    "element": "checkBox"
                }
            ]
        },
        {
            "name": "getImageCheckBoxes",
            "compose": [
                {
                    "element": "ImageCheckBox"
                }
            ]
        },
        {
            "name": "focusAtIndex",
            "compose": [
                {
                    "element": "checkBoxAtIndex",
                    "args": [
                        {
                            "name": "checkBoxIndex",
                            "type": "number"
                        },
                        {
                            "type": "pageObject",
                            "value": "utam-omnistudio-common/pageObjects/input"
                        }
                    ],
                    "returnType": "utam-omnistudio-common/pageObjects/input"
                },
                {
                    "chain": true,
                    "apply": "focus"
                }
            ]
        },
        {
            "name": "hasLabel",
            "compose": [
                {
                    "element": "label",
                    "apply": "isPresent"
                }
            ]
        },
        {
            "name": "getLabel",
            "compose": [
                {
                    "element": "label",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "isValid",
            "compose": [
                {
                    "element": "input",
                    "apply": "getAttribute",
                    "args": [
                        {
                            "value": "aria-invalid"
                        }
                    ],
                    "matcher": {
                        "type": "stringContains",
                        "args": [
                            {
                                "value": "false"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "name": "getErrorMessage",
            "compose": [
                {
                    "element": "errorMessageElem",
                    "apply": "getText",
                    "returnType": "string"
                }
            ]
        },
        {
            "name": "isDisabled",
            "compose": [
                {
                    "element": "input",
                    "apply": "getAttribute",
                    "args": [
                        {
                            "value": "disabled"
                        }
                    ],
                    "matcher": {
                        "type": "notNull"
                    },
                    "returnType": "boolean"
                }
            ]
        }
    ],
    "description": {
        "text": [
            " "
        ],
        "author": "Salesforce"
    }
}