def get_region_index(data) -> list:
    """Get list of all regions"""

    regions = (data.get('NEMSPDCaseFile').get('NemSpdInputs')
               .get('RegionCollection').get('Region'))

    return [i['@RegionID'] for i in regions]