{
    "description": {
        "author": "Salesforce",
        "text": [
            "Selector: UVMContainer.",
            "Represents the iOS mobile home cards scrollview.",
            "Verify cards are present or navigate to one."
        ]
    },
    "implements": "utam-salesforceapp/pageObjects/mcfmobilehome/mobileHomeCardList",
    "platform": "native",
    "profile": [
        {
            "platform": [
                "ios_phone",
                "ios_tablet"
            ]
        }
    ],
    "exposeRootElement": true,
    "type": [
        "actionable",
        "touchable"
    ],
    "elements": [
        {
            "name": "cards",
            "type": "utam-salesforceapp/pageObjects/mcfmobilehome/mobileHomeCard",
            "nullable": true,
            "public": true,
            "selector": {
                "classchain": "**/XCUIElementTypeOther[`name ENDSWITH '_card'`]",
                "returnAll": true
            }
        },
        {
            "name": "cardOfType",
            "type": "utam-salesforceapp/pageObjects/mcfmobilehome/mobileHomeCard",
            "nullable": true,
            "public": true,
            "selector": {
                "classchain": "**/XCUIElementTypeOther[`name == '%s_card'`]",
                "args": [
                    {
                        "name": "type",
                        "type": "string"
                    }
                ]
            }
        }
    ],
    "methods": [
        {
            "name": "flickToCardOfType",
            "compose": [
                {
                    "element": "cardOfType",
                    "matcher": {
                        "type": "notNull"
                    },
                    "returnType": "boolean"
                }
            ]
        },
        {
            "name": "hasCardOfType",
            "compose": [
                {
                    "element": "cardOfType",
                    "matcher": {
                        "type": "notNull"
                    },
                    "returnType": "boolean"
                }
            ]
        }
    ]
}