Follow/Feed system using CloudKit

How would I get around creating a follow/feed system. I can work this out using Firebase, but since I'm new to CloudKit I can't wrap my head around the database structure. Any help would be greatly appreciated. :)

Follow/Feed system using CloudKit
 
 
Q