-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudkit-schema.yml
More file actions
36 lines (31 loc) · 1.18 KB
/
cloudkit-schema.yml
File metadata and controls
36 lines (31 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# CloudKit Schema Manifest
#
# Lists all CKRecord fields written by the app. The shared database enforces
# the deployed (production) schema — any field written to a CKRecord must exist
# in the deployed schema or shared participants will get save errors.
#
# When adding a new field:
# 1. Add it to this file
# 2. Deploy the schema in CloudKit Console
# 3. CI will fail if a record["..."] write references a field not listed here
Room3:
# RoomSpec
- originatorID # String
- tier # Int64
- createdAtDate # Date/Time
- modifiedAtDate # Date/Time
# Embedded data (JSON strings)
- participantsJSON # String
- messagesJSON # String
# RoomState
- stateType # String (draft, pendingParticipants, active, defunct)
- defunctReason # String (optional)
# TurnState
- currentTurnIndex # Int64 (optional)
- needID # String (optional)
- needType # String (optional)
- needClaimedBy # String (optional)
- needClaimedAt # Date/Time (optional)
# Transient (composing indicator)
- composingParticipantID # String (optional)
- composingTimestamp # Date/Time (optional)