iCloud Shared Photo Library lets you share photos and videos seamlessly with up to five other people, so everyone can collaborate on the collection and enjoy more complete memories.
With an iPad (iOS 15.5) I created an album named “Test” where I put 3 pics & 1 video that I shared with my iPhone’s Apple ID (iOS 15.3.1).
I accepted the “shared album” but didn’t open the files.
I made iTunes backup of my iPhone.
The four files appear as 5003.jpg thumbnails.

mobile/Media/PhotoData/Thumbnails/V2/PhotoData/PhotoCloudSharingData/1273980466/7B3F5A67-0D5B-4E89-B6DB-127846F5EA88/100CLOUD/IMG_0004.JPG/5003.JPG
Creation 26/12/2022 22:36:11(UTC+1)
Modification 26/12/2022 22:36:11(UTC+1)
mobile/Media/PhotoData/Thumbnails/V2/PhotoData/PhotoCloudSharingData/1273980466/7B3F5A67-0D5B-4E89-B6DB-127846F5EA88/100CLOUD/IMG_0002.JPG/5003.JPG
Creation 26/12/2022 22:36:11(UTC+1)
Modification 26/12/2022 22:36:11(UTC+1)
mobile/Media/PhotoData/Thumbnails/V2/PhotoData/PhotoCloudSharingData/1273980466/7B3F5A67-0D5B-4E89-B6DB-127846F5EA88/100CLOUD/IMG_0001.MP4/5003.JPG
Creation 26/12/2022 22:36:11(UTC+1)
Modification 26/12/2022 22:36:11(UTC+1)
mobile/Media/PhotoData/Thumbnails/V2/PhotoData/PhotoCloudSharingData/1273980466/7B3F5A67-0D5B-4E89-B6DB-127846F5EA88/100CLOUD/IMG_0003.JPG/5003.JPG
Creation 26/12/2022 22:36:11(UTC+1)
Modification 26/12/2022 22:36:11(UTC+1)
Photos.sqlite database
ZCLOUDSUBSCRIPTIONDATE 26/12/2022 21:36:09 : Date/time I agreed to receive the shared album
ZTITLE Test : Album name
ZCACHEDCOUNT 4 : Number of files
ZCACHEDPHOTOSCOUNT 3 : Number of photos
ZCACHEDVIDEOSCOUNT 1 : Number of videos
ZCREATIONDATE 26/12/2022 18:23:36 : Date/time I received notifiation on my iPhone
ZCLOUDOWNERFULLNAME N* S** : First & last name of the iPad Owner
ZCLOUDPERSONID 1273980466 : Cloud user’s Apple ID
ZCLOUDGUID 7B3F5A67-0D5B-4E89-B6DB-127846F5EA88 : Album’s Apple ID ZCLOUDMETADATA (Apple’s binary property list) :
- creationDate : NSDate = 26/12/2022 17:52:54 date and time the album was shared from the iPad
- ispublic : AsciiString = 0 Not a public album
- name : AsciiString = Test Album name
- allowcontributions : AsciiString = 1 Allow add media files and comments
Query
Select ZGENERICALBUM.ZCACHEDCOUNT AS 'Number of files',
ZGENERICALBUM.ZCACHEDPHOTOSCOUNT AS 'Number of pictures',
ZGENERICALBUM.ZCACHEDVIDEOSCOUNT AS 'Number of videos',
ZGENERICALBUM.ZTITLE AS 'Album title',
DateTime(ZGENERICALBUM.ZCLOUDSUBSCRIPTIONDATE + 978307200, 'UNIXEPOCH','LOCALTIME') AS 'Date of subscription',
DateTime(ZGENERICALBUM.ZCREATIONDATE + 978307200, 'UNIXEPOCH','LOCALTIME') AS 'Date of notification',
ZGENERICALBUM.ZCLOUDOWNERFULLNAME AS 'Full name owner'
From ZGENERICALBUM
Two days later I opened this album et watched the four files but didn’t launch the vidéo.

Video IMG_0001.mp4 is not present but appears as IMG_001.poster.jpg
IMG_0004.heic appears as IMG_0004.mov and IMG.0004.jpg
The metadata of the IMG_0002.JPG IMG_0003.JPG IMG_0004.JPG/MOV files have been preserved.
I found the date the album was opened in mobile/Media/PhotoData/CPL/cloudphotos-1.0.plist : lastUpdate : date = 28/12/2022 15:41:55 +00:00
All these files -thumbnails included- have the same timestamp (26/12/2022 22:36:11 UTC+1) which corresponds to the time where I agreed the shared album, even I opened it two days later.