{
    "description": {
        "author": "Salesforce",
        "text": [
            "Selector: draft_list.",
            "Represents the iOS draft list used in the Offline App.",
            "Verify the draft list and its rows."
        ]
    },
    "implements": "utam-salesforceapp/pageObjects/offlineapp/draftList",
    "platform": "native",
    "exposeRootElement": true,
    "root": true,
    "profile": [
        {
            "platform": [
                "ios_phone",
                "ios_tablet"
            ]
        }
    ],
    "type": [
        "clickable",
        "touchable"
    ],
    "selector": {
        "accessid": "draft_list"
    },
    "elements": [
        {
            "name": "draftRows",
            "type": "utam-salesforceapp/pageObjects/offlineapp/draftRow",
            "nullable": true,
            "public": true,
            "selector": {
                "classchain": "**/XCUIElementTypeOther[`name BEGINSWITH 'draft_row'`]",
                "returnAll": true
            }
        },
        {
            "name": "draftRowAtIndex",
            "type": "utam-salesforceapp/pageObjects/offlineapp/draftRow",
            "selector": {
                "classchain": "**/XCUIElementTypeOther[`name == 'draft_row_%d'`]",
                "args": [
                    {
                        "name": "index",
                        "type": "number"
                    }
                ]
            },
            "public": true
        }
    ]
}