@chronicle.app/schema 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -3
- package/chronicle.ttl +287 -24
- package/dist/identity.d.ts +59 -0
- package/dist/identity.js +166 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/schema.d.ts +165 -13
- package/dist/schema.js +468 -11
- package/package.json +4 -3
package/dist/schema.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const SCHEMA_VERSION = '0.
|
|
1
|
+
export const SCHEMA_VERSION = '0.4.0';
|
|
2
2
|
// Generated from chronicle.ttl. Do not edit; run npm run schema:generate.
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { isDateTime, isInstant } from './datetime.js';
|
|
@@ -8,6 +8,29 @@ const DateTimeSchema = z.union([
|
|
|
8
8
|
.string()
|
|
9
9
|
.refine(isDateTime, 'Not a date or time. Use EDTF, such as 2026-03-14T09:26:00Z, 2026-03-14, or 1987.'),
|
|
10
10
|
]);
|
|
11
|
+
/** Inverse property name → the forward property it reverses. */
|
|
12
|
+
export const INVERSE_PROPERTIES = {
|
|
13
|
+
hasPart: 'isPartOf',
|
|
14
|
+
hasStage: 'isStageOf',
|
|
15
|
+
renditionOf: 'rendition',
|
|
16
|
+
resultOf: 'result',
|
|
17
|
+
};
|
|
18
|
+
/** Metric property name → the form its values take and the unit they are in. */
|
|
19
|
+
export const METRIC_PROPERTIES = {
|
|
20
|
+
activeEnergyBurned: { metric: 'sum', unit: 'kcal' },
|
|
21
|
+
diastolicBloodPressure: { metric: 'gauge', unit: 'mm[Hg]' },
|
|
22
|
+
heartRate: { metric: 'gauge', unit: '/min' },
|
|
23
|
+
heartRateRecovery: { metric: 'gauge', unit: '/min' },
|
|
24
|
+
heartRateVariabilitySdnn: { metric: 'gauge', unit: 'ms' },
|
|
25
|
+
oxygenSaturation: { metric: 'gauge', unit: '1' },
|
|
26
|
+
respiratoryRate: { metric: 'gauge', unit: '/min' },
|
|
27
|
+
restingHeartRate: { metric: 'gauge', unit: '/min' },
|
|
28
|
+
sleepingWristTemperature: { metric: 'gauge', unit: 'Cel' },
|
|
29
|
+
stepCount: { metric: 'sum', unit: '{steps}' },
|
|
30
|
+
systolicBloodPressure: { metric: 'gauge', unit: 'mm[Hg]' },
|
|
31
|
+
walkingHeartRate: { metric: 'gauge', unit: '/min' },
|
|
32
|
+
weight: { metric: 'gauge', unit: 'kg' },
|
|
33
|
+
};
|
|
11
34
|
function requireNodeIdentity(node, ctx) {
|
|
12
35
|
const hasKey = Array.isArray(node['@key']) && node['@key'].length > 0;
|
|
13
36
|
const hasId = typeof node['@id'] === 'string' && node['@id'].length > 0;
|
|
@@ -49,7 +72,9 @@ const EntityProperties = {
|
|
|
49
72
|
description: z.lazy(() => z.string()).optional(),
|
|
50
73
|
emblem: z.lazy(() => ImageObjectAndChildrenSchema).optional(),
|
|
51
74
|
handle: z.lazy(() => z.string()).optional(),
|
|
52
|
-
inAccount: z
|
|
75
|
+
inAccount: z
|
|
76
|
+
.lazy(() => z.array(z.union([AgentAndChildrenSchema, FinancialAccountAndChildrenSchema])))
|
|
77
|
+
.optional(),
|
|
53
78
|
inRealm: z.lazy(() => RealmAndChildrenSchema).optional(),
|
|
54
79
|
isPartOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
55
80
|
location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
|
|
@@ -58,6 +83,8 @@ const EntityProperties = {
|
|
|
58
83
|
sameAs: z.lazy(() => z.array(z.union([EntityAndChildrenSchema, z.string()]))).optional(),
|
|
59
84
|
tags: z.lazy(() => z.array(z.string())).optional(),
|
|
60
85
|
url: z.lazy(() => z.string().url()).optional(),
|
|
86
|
+
hasPart: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
87
|
+
resultOf: z.lazy(() => z.array(ActionAndChildrenSchema)).optional(),
|
|
61
88
|
};
|
|
62
89
|
export const EntitySchema = z
|
|
63
90
|
.object({
|
|
@@ -74,8 +101,11 @@ const CreativeWorkProperties = {
|
|
|
74
101
|
isBasedOn: z.lazy(() => z.array(CreativeWorkAndChildrenSchema)).optional(),
|
|
75
102
|
publisher: z.lazy(() => z.array(OrganizationAndChildrenSchema)).optional(),
|
|
76
103
|
references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
104
|
+
rendition: z.lazy(() => z.array(MediaObjectAndChildrenSchema)).optional(),
|
|
105
|
+
series: z.lazy(() => z.array(CreativeWorkAndChildrenSchema)).optional(),
|
|
77
106
|
sourceFormat: z.lazy(() => z.string()).optional(),
|
|
78
107
|
visibility: z.lazy(() => z.string()).optional(),
|
|
108
|
+
webFeed: z.lazy(() => z.array(z.string().url())).optional(),
|
|
79
109
|
};
|
|
80
110
|
export const CreativeWorkSchema = z
|
|
81
111
|
.object({
|
|
@@ -148,6 +178,7 @@ export const AddActionSchema = z
|
|
|
148
178
|
.superRefine(requireNodeIdentity);
|
|
149
179
|
const AgentProperties = {
|
|
150
180
|
...EntityProperties,
|
|
181
|
+
likes: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
151
182
|
memberOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
152
183
|
};
|
|
153
184
|
export const AgentSchema = z
|
|
@@ -195,8 +226,10 @@ export const AssessActionSchema = z
|
|
|
195
226
|
const MediaObjectProperties = {
|
|
196
227
|
...CreativeWorkProperties,
|
|
197
228
|
contentPath: z.lazy(() => z.string()).optional(),
|
|
229
|
+
contentSize: z.lazy(() => z.number()).optional(),
|
|
198
230
|
mimeType: z.lazy(() => z.string()).optional(),
|
|
199
231
|
snapshotOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
232
|
+
renditionOf: z.lazy(() => z.array(CreativeWorkAndChildrenSchema)).optional(),
|
|
200
233
|
};
|
|
201
234
|
export const MediaObjectSchema = z
|
|
202
235
|
.object({
|
|
@@ -292,11 +325,13 @@ export const CallActionSchema = z
|
|
|
292
325
|
.superRefine(requireNodeIdentity);
|
|
293
326
|
const SessionProperties = {
|
|
294
327
|
...EntityProperties,
|
|
328
|
+
isStageOf: z.lazy(() => SessionAndChildrenSchema).optional(),
|
|
295
329
|
references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
296
330
|
scheduledEnd: z.lazy(() => DateTimeSchema).optional(),
|
|
297
331
|
scheduledStart: z.lazy(() => DateTimeSchema).optional(),
|
|
298
332
|
subject: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
299
333
|
workingDirectory: z.lazy(() => DirectoryAndChildrenSchema).optional(),
|
|
334
|
+
hasStage: z.lazy(() => z.array(SessionAndChildrenSchema)).optional(),
|
|
300
335
|
};
|
|
301
336
|
export const SessionSchema = z
|
|
302
337
|
.object({
|
|
@@ -561,6 +596,37 @@ export const ExperienceActionSchema = z
|
|
|
561
596
|
...ExperienceActionProperties,
|
|
562
597
|
})
|
|
563
598
|
.superRefine(requireNodeIdentity);
|
|
599
|
+
const FinancialAccountProperties = {
|
|
600
|
+
...IntangibleProperties,
|
|
601
|
+
financialAccountType: z.lazy(() => z.string()).optional(),
|
|
602
|
+
};
|
|
603
|
+
export const FinancialAccountSchema = z
|
|
604
|
+
.object({
|
|
605
|
+
'@type': z.literal('FinancialAccount'),
|
|
606
|
+
...FinancialAccountProperties,
|
|
607
|
+
})
|
|
608
|
+
.superRefine(requireNodeIdentity);
|
|
609
|
+
const FinancialPostingProperties = {
|
|
610
|
+
...IntangibleProperties,
|
|
611
|
+
amount: z.lazy(() => MonetaryAmountAndChildrenSchema).optional(),
|
|
612
|
+
};
|
|
613
|
+
export const FinancialPostingSchema = z
|
|
614
|
+
.object({
|
|
615
|
+
'@type': z.literal('FinancialPosting'),
|
|
616
|
+
...FinancialPostingProperties,
|
|
617
|
+
})
|
|
618
|
+
.superRefine(requireNodeIdentity);
|
|
619
|
+
const FinancialTransactionProperties = {
|
|
620
|
+
...IntangibleProperties,
|
|
621
|
+
amount: z.lazy(() => MonetaryAmountAndChildrenSchema).optional(),
|
|
622
|
+
recipient: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
|
|
623
|
+
};
|
|
624
|
+
export const FinancialTransactionSchema = z
|
|
625
|
+
.object({
|
|
626
|
+
'@type': z.literal('FinancialTransaction'),
|
|
627
|
+
...FinancialTransactionProperties,
|
|
628
|
+
})
|
|
629
|
+
.superRefine(requireNodeIdentity);
|
|
564
630
|
const FindActionProperties = {
|
|
565
631
|
...ActionProperties,
|
|
566
632
|
};
|
|
@@ -582,6 +648,7 @@ export const FollowActionSchema = z
|
|
|
582
648
|
const ImageObjectProperties = {
|
|
583
649
|
...MediaObjectProperties,
|
|
584
650
|
caption: z.lazy(() => z.string()).optional(),
|
|
651
|
+
exifData: z.lazy(() => z.record(z.string(), z.union([z.string(), z.number()]))).optional(),
|
|
585
652
|
height: z.lazy(() => z.number()).optional(),
|
|
586
653
|
width: z.lazy(() => z.number()).optional(),
|
|
587
654
|
};
|
|
@@ -601,7 +668,7 @@ export const JoinActionSchema = z
|
|
|
601
668
|
})
|
|
602
669
|
.superRefine(requireNodeIdentity);
|
|
603
670
|
const JourneyProperties = {
|
|
604
|
-
...
|
|
671
|
+
...SessionProperties,
|
|
605
672
|
distance: z.lazy(() => z.number()).optional(),
|
|
606
673
|
path: z.lazy(() => z.string()).optional(),
|
|
607
674
|
travelMode: z.lazy(() => z.string()).optional(),
|
|
@@ -672,6 +739,15 @@ export const MealSchema = z
|
|
|
672
739
|
...MealProperties,
|
|
673
740
|
})
|
|
674
741
|
.superRefine(requireNodeIdentity);
|
|
742
|
+
const MeasureActionProperties = {
|
|
743
|
+
...ActionProperties,
|
|
744
|
+
};
|
|
745
|
+
export const MeasureActionSchema = z
|
|
746
|
+
.object({
|
|
747
|
+
'@type': z.literal('MeasureAction'),
|
|
748
|
+
...MeasureActionProperties,
|
|
749
|
+
})
|
|
750
|
+
.superRefine(requireNodeIdentity);
|
|
675
751
|
const MembershipProperties = {
|
|
676
752
|
...SessionProperties,
|
|
677
753
|
role: z.lazy(() => z.string()).optional(),
|
|
@@ -703,6 +779,15 @@ export const MessageActionSchema = z
|
|
|
703
779
|
...MessageActionProperties,
|
|
704
780
|
})
|
|
705
781
|
.superRefine(requireNodeIdentity);
|
|
782
|
+
const MonetaryAmountProperties = {
|
|
783
|
+
...StructuredValueProperties,
|
|
784
|
+
currency: z.lazy(() => z.string()).optional(),
|
|
785
|
+
value: z.lazy(() => z.number()).optional(),
|
|
786
|
+
};
|
|
787
|
+
export const MonetaryAmountSchema = z.object({
|
|
788
|
+
'@type': z.literal('MonetaryAmount'),
|
|
789
|
+
...MonetaryAmountProperties,
|
|
790
|
+
});
|
|
706
791
|
const MoveActionProperties = {
|
|
707
792
|
...ActionProperties,
|
|
708
793
|
};
|
|
@@ -712,6 +797,17 @@ export const MoveActionSchema = z
|
|
|
712
797
|
...MoveActionProperties,
|
|
713
798
|
})
|
|
714
799
|
.superRefine(requireNodeIdentity);
|
|
800
|
+
const MovingImageProperties = {
|
|
801
|
+
...CreativeWorkProperties,
|
|
802
|
+
caption: z.lazy(() => z.string()).optional(),
|
|
803
|
+
depicts: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
804
|
+
};
|
|
805
|
+
export const MovingImageSchema = z
|
|
806
|
+
.object({
|
|
807
|
+
'@type': z.literal('MovingImage'),
|
|
808
|
+
...MovingImageProperties,
|
|
809
|
+
})
|
|
810
|
+
.superRefine(requireNodeIdentity);
|
|
715
811
|
const MusicAlbumProperties = {
|
|
716
812
|
...CreativeWorkProperties,
|
|
717
813
|
artist: z.lazy(() => z.array(MusicGroupAndChildrenSchema)).optional(),
|
|
@@ -773,6 +869,15 @@ export const NavigateActionSchema = z
|
|
|
773
869
|
...NavigateActionProperties,
|
|
774
870
|
})
|
|
775
871
|
.superRefine(requireNodeIdentity);
|
|
872
|
+
const NoteProperties = {
|
|
873
|
+
...CreativeWorkProperties,
|
|
874
|
+
};
|
|
875
|
+
export const NoteSchema = z
|
|
876
|
+
.object({
|
|
877
|
+
'@type': z.literal('Note'),
|
|
878
|
+
...NoteProperties,
|
|
879
|
+
})
|
|
880
|
+
.superRefine(requireNodeIdentity);
|
|
776
881
|
const OperatingSystemProperties = {
|
|
777
882
|
...SoftwareProperties,
|
|
778
883
|
};
|
|
@@ -791,8 +896,49 @@ export const PageSelectorSchema = z
|
|
|
791
896
|
...PageSelectorProperties,
|
|
792
897
|
})
|
|
793
898
|
.superRefine(requireNodeIdentity);
|
|
899
|
+
const TradeActionProperties = {
|
|
900
|
+
...ActionProperties,
|
|
901
|
+
};
|
|
902
|
+
export const TradeActionSchema = z
|
|
903
|
+
.object({
|
|
904
|
+
'@type': z.literal('TradeAction'),
|
|
905
|
+
...TradeActionProperties,
|
|
906
|
+
})
|
|
907
|
+
.superRefine(requireNodeIdentity);
|
|
908
|
+
const PayActionProperties = {
|
|
909
|
+
...TradeActionProperties,
|
|
910
|
+
};
|
|
911
|
+
export const PayActionSchema = z
|
|
912
|
+
.object({
|
|
913
|
+
'@type': z.literal('PayAction'),
|
|
914
|
+
...PayActionProperties,
|
|
915
|
+
})
|
|
916
|
+
.superRefine(requireNodeIdentity);
|
|
917
|
+
const PaymentCardProperties = {
|
|
918
|
+
...IntangibleProperties,
|
|
919
|
+
};
|
|
920
|
+
export const PaymentCardSchema = z
|
|
921
|
+
.object({
|
|
922
|
+
'@type': z.literal('PaymentCard'),
|
|
923
|
+
...PaymentCardProperties,
|
|
924
|
+
})
|
|
925
|
+
.superRefine(requireNodeIdentity);
|
|
794
926
|
const PersonProperties = {
|
|
795
927
|
...AgentProperties,
|
|
928
|
+
activeEnergyBurned: z.lazy(() => z.number()).optional(),
|
|
929
|
+
diastolicBloodPressure: z.lazy(() => z.number()).optional(),
|
|
930
|
+
heartRate: z.lazy(() => z.number()).optional(),
|
|
931
|
+
heartRateRecovery: z.lazy(() => z.number()).optional(),
|
|
932
|
+
heartRateVariabilitySdnn: z.lazy(() => z.number()).optional(),
|
|
933
|
+
heartRhythm: z.lazy(() => z.string()).optional(),
|
|
934
|
+
oxygenSaturation: z.lazy(() => z.number()).optional(),
|
|
935
|
+
respiratoryRate: z.lazy(() => z.number()).optional(),
|
|
936
|
+
restingHeartRate: z.lazy(() => z.number()).optional(),
|
|
937
|
+
sleepingWristTemperature: z.lazy(() => z.number()).optional(),
|
|
938
|
+
stepCount: z.lazy(() => z.number()).optional(),
|
|
939
|
+
systolicBloodPressure: z.lazy(() => z.number()).optional(),
|
|
940
|
+
walkingHeartRate: z.lazy(() => z.number()).optional(),
|
|
941
|
+
weight: z.lazy(() => z.number()).optional(),
|
|
796
942
|
};
|
|
797
943
|
export const PersonSchema = z
|
|
798
944
|
.object({
|
|
@@ -838,6 +984,15 @@ export const PodcastEpisodeSchema = z
|
|
|
838
984
|
...PodcastEpisodeProperties,
|
|
839
985
|
})
|
|
840
986
|
.superRefine(requireNodeIdentity);
|
|
987
|
+
const PodcastSeriesProperties = {
|
|
988
|
+
...CreativeWorkProperties,
|
|
989
|
+
};
|
|
990
|
+
export const PodcastSeriesSchema = z
|
|
991
|
+
.object({
|
|
992
|
+
'@type': z.literal('PodcastSeries'),
|
|
993
|
+
...PodcastSeriesProperties,
|
|
994
|
+
})
|
|
995
|
+
.superRefine(requireNodeIdentity);
|
|
841
996
|
const PostProperties = {
|
|
842
997
|
...CreativeWorkProperties,
|
|
843
998
|
};
|
|
@@ -977,6 +1132,51 @@ export const RevisionSchema = z
|
|
|
977
1132
|
...RevisionProperties,
|
|
978
1133
|
})
|
|
979
1134
|
.superRefine(requireNodeIdentity);
|
|
1135
|
+
const ScreenshotActionProperties = {
|
|
1136
|
+
...CreateActionProperties,
|
|
1137
|
+
};
|
|
1138
|
+
export const ScreenshotActionSchema = z
|
|
1139
|
+
.object({
|
|
1140
|
+
'@type': z.literal('ScreenshotAction'),
|
|
1141
|
+
...ScreenshotActionProperties,
|
|
1142
|
+
})
|
|
1143
|
+
.superRefine(requireNodeIdentity);
|
|
1144
|
+
const ShareActionProperties = {
|
|
1145
|
+
...CommunicateActionProperties,
|
|
1146
|
+
};
|
|
1147
|
+
export const ShareActionSchema = z
|
|
1148
|
+
.object({
|
|
1149
|
+
'@type': z.literal('ShareAction'),
|
|
1150
|
+
...ShareActionProperties,
|
|
1151
|
+
})
|
|
1152
|
+
.superRefine(requireNodeIdentity);
|
|
1153
|
+
const SleepActionProperties = {
|
|
1154
|
+
...ExperienceActionProperties,
|
|
1155
|
+
};
|
|
1156
|
+
export const SleepActionSchema = z
|
|
1157
|
+
.object({
|
|
1158
|
+
'@type': z.literal('SleepAction'),
|
|
1159
|
+
...SleepActionProperties,
|
|
1160
|
+
})
|
|
1161
|
+
.superRefine(requireNodeIdentity);
|
|
1162
|
+
const SleepSessionProperties = {
|
|
1163
|
+
...SessionProperties,
|
|
1164
|
+
};
|
|
1165
|
+
export const SleepSessionSchema = z
|
|
1166
|
+
.object({
|
|
1167
|
+
'@type': z.literal('SleepSession'),
|
|
1168
|
+
...SleepSessionProperties,
|
|
1169
|
+
})
|
|
1170
|
+
.superRefine(requireNodeIdentity);
|
|
1171
|
+
const SleepStageProperties = {
|
|
1172
|
+
...SessionProperties,
|
|
1173
|
+
};
|
|
1174
|
+
export const SleepStageSchema = z
|
|
1175
|
+
.object({
|
|
1176
|
+
'@type': z.literal('SleepStage'),
|
|
1177
|
+
...SleepStageProperties,
|
|
1178
|
+
})
|
|
1179
|
+
.superRefine(requireNodeIdentity);
|
|
980
1180
|
const SoftwareAgentProperties = {
|
|
981
1181
|
...AgentProperties,
|
|
982
1182
|
};
|
|
@@ -1004,6 +1204,17 @@ export const SoftwareSourceCodeSchema = z
|
|
|
1004
1204
|
...SoftwareSourceCodeProperties,
|
|
1005
1205
|
})
|
|
1006
1206
|
.superRefine(requireNodeIdentity);
|
|
1207
|
+
const StillImageProperties = {
|
|
1208
|
+
...CreativeWorkProperties,
|
|
1209
|
+
caption: z.lazy(() => z.string()).optional(),
|
|
1210
|
+
depicts: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
1211
|
+
};
|
|
1212
|
+
export const StillImageSchema = z
|
|
1213
|
+
.object({
|
|
1214
|
+
'@type': z.literal('StillImage'),
|
|
1215
|
+
...StillImageProperties,
|
|
1216
|
+
})
|
|
1217
|
+
.superRefine(requireNodeIdentity);
|
|
1007
1218
|
const TagProperties = {
|
|
1008
1219
|
...EntityProperties,
|
|
1009
1220
|
color: z.lazy(() => z.string()).optional(),
|
|
@@ -1051,6 +1262,15 @@ export const TravelActionSchema = z
|
|
|
1051
1262
|
...TravelActionProperties,
|
|
1052
1263
|
})
|
|
1053
1264
|
.superRefine(requireNodeIdentity);
|
|
1265
|
+
const UnlikeActionProperties = {
|
|
1266
|
+
...ReactActionProperties,
|
|
1267
|
+
};
|
|
1268
|
+
export const UnlikeActionSchema = z
|
|
1269
|
+
.object({
|
|
1270
|
+
'@type': z.literal('UnlikeAction'),
|
|
1271
|
+
...UnlikeActionProperties,
|
|
1272
|
+
})
|
|
1273
|
+
.superRefine(requireNodeIdentity);
|
|
1054
1274
|
const VenueProperties = {
|
|
1055
1275
|
...PlaceProperties,
|
|
1056
1276
|
};
|
|
@@ -1105,14 +1325,21 @@ export const VisitActionAndChildrenSchema = VisitActionSchema;
|
|
|
1105
1325
|
export const ViewActionAndChildrenSchema = ViewActionSchema;
|
|
1106
1326
|
export const VideoObjectAndChildrenSchema = VideoObjectSchema;
|
|
1107
1327
|
export const VenueAndChildrenSchema = VenueSchema;
|
|
1328
|
+
export const UnlikeActionAndChildrenSchema = UnlikeActionSchema;
|
|
1108
1329
|
export const TravelActionAndChildrenSchema = TravelActionSchema;
|
|
1109
1330
|
export const ThreadAndChildrenSchema = ThreadSchema;
|
|
1110
1331
|
export const TenureAndChildrenSchema = TenureSchema;
|
|
1111
1332
|
export const TaskAndChildrenSchema = TaskSchema;
|
|
1112
1333
|
export const TagAndChildrenSchema = TagSchema;
|
|
1334
|
+
export const StillImageAndChildrenSchema = StillImageSchema;
|
|
1113
1335
|
export const SoftwareSourceCodeAndChildrenSchema = SoftwareSourceCodeSchema;
|
|
1114
1336
|
export const SoftwareApplicationAndChildrenSchema = SoftwareApplicationSchema;
|
|
1115
1337
|
export const SoftwareAgentAndChildrenSchema = SoftwareAgentSchema;
|
|
1338
|
+
export const SleepStageAndChildrenSchema = SleepStageSchema;
|
|
1339
|
+
export const SleepSessionAndChildrenSchema = SleepSessionSchema;
|
|
1340
|
+
export const SleepActionAndChildrenSchema = SleepActionSchema;
|
|
1341
|
+
export const ShareActionAndChildrenSchema = ShareActionSchema;
|
|
1342
|
+
export const ScreenshotActionAndChildrenSchema = ScreenshotActionSchema;
|
|
1116
1343
|
export const RevisionAndChildrenSchema = RevisionSchema;
|
|
1117
1344
|
export const RespondActionAndChildrenSchema = RespondActionSchema;
|
|
1118
1345
|
export const RepositoryAndChildrenSchema = RepositorySchema;
|
|
@@ -1128,6 +1355,7 @@ export const PublishActionAndChildrenSchema = PublishActionSchema;
|
|
|
1128
1355
|
export const ProjectAndChildrenSchema = ProjectSchema;
|
|
1129
1356
|
export const ProductModelAndChildrenSchema = ProductModelSchema;
|
|
1130
1357
|
export const PostAndChildrenSchema = PostSchema;
|
|
1358
|
+
export const PodcastSeriesAndChildrenSchema = PodcastSeriesSchema;
|
|
1131
1359
|
export const PodcastEpisodeAndChildrenSchema = PodcastEpisodeSchema;
|
|
1132
1360
|
export const PlanActionAndChildrenSchema = PlanActionSchema;
|
|
1133
1361
|
export const PlaceAndChildrenSchema = z
|
|
@@ -1144,8 +1372,23 @@ export const PlaceAndChildrenSchema = z
|
|
|
1144
1372
|
.superRefine(requireNodeIdentity);
|
|
1145
1373
|
export const PhotographActionAndChildrenSchema = PhotographActionSchema;
|
|
1146
1374
|
export const PersonAndChildrenSchema = PersonSchema;
|
|
1375
|
+
export const PaymentCardAndChildrenSchema = PaymentCardSchema;
|
|
1376
|
+
export const PayActionAndChildrenSchema = PayActionSchema;
|
|
1377
|
+
export const TradeActionAndChildrenSchema = z
|
|
1378
|
+
.discriminatedUnion('@type', [
|
|
1379
|
+
z.object({
|
|
1380
|
+
'@type': z.literal('TradeAction'),
|
|
1381
|
+
...TradeActionProperties,
|
|
1382
|
+
}),
|
|
1383
|
+
z.object({
|
|
1384
|
+
'@type': z.literal('PayAction'),
|
|
1385
|
+
...PayActionProperties,
|
|
1386
|
+
}),
|
|
1387
|
+
])
|
|
1388
|
+
.superRefine(requireNodeIdentity);
|
|
1147
1389
|
export const PageSelectorAndChildrenSchema = PageSelectorSchema;
|
|
1148
1390
|
export const OperatingSystemAndChildrenSchema = OperatingSystemSchema;
|
|
1391
|
+
export const NoteAndChildrenSchema = NoteSchema;
|
|
1149
1392
|
export const NavigateActionAndChildrenSchema = NavigateActionSchema;
|
|
1150
1393
|
export const MusicRecordingAndChildrenSchema = MusicRecordingSchema;
|
|
1151
1394
|
export const MusicGroupAndChildrenSchema = MusicGroupSchema;
|
|
@@ -1178,6 +1421,7 @@ export const OrganizationAndChildrenSchema = z
|
|
|
1178
1421
|
])
|
|
1179
1422
|
.superRefine(requireNodeIdentity);
|
|
1180
1423
|
export const MusicAlbumAndChildrenSchema = MusicAlbumSchema;
|
|
1424
|
+
export const MovingImageAndChildrenSchema = MovingImageSchema;
|
|
1181
1425
|
export const MoveActionAndChildrenSchema = z
|
|
1182
1426
|
.discriminatedUnion('@type', [
|
|
1183
1427
|
z.object({
|
|
@@ -1190,9 +1434,11 @@ export const MoveActionAndChildrenSchema = z
|
|
|
1190
1434
|
}),
|
|
1191
1435
|
])
|
|
1192
1436
|
.superRefine(requireNodeIdentity);
|
|
1437
|
+
export const MonetaryAmountAndChildrenSchema = MonetaryAmountSchema;
|
|
1193
1438
|
export const MessageActionAndChildrenSchema = MessageActionSchema;
|
|
1194
1439
|
export const MessageAndChildrenSchema = MessageSchema;
|
|
1195
1440
|
export const MembershipAndChildrenSchema = MembershipSchema;
|
|
1441
|
+
export const MeasureActionAndChildrenSchema = MeasureActionSchema;
|
|
1196
1442
|
export const MealAndChildrenSchema = MealSchema;
|
|
1197
1443
|
export const LocationAndChildrenSchema = LocationSchema;
|
|
1198
1444
|
export const StructuredValueAndChildrenSchema = z.discriminatedUnion('@type', [
|
|
@@ -1200,6 +1446,10 @@ export const StructuredValueAndChildrenSchema = z.discriminatedUnion('@type', [
|
|
|
1200
1446
|
'@type': z.literal('StructuredValue'),
|
|
1201
1447
|
...StructuredValueProperties,
|
|
1202
1448
|
}),
|
|
1449
|
+
z.object({
|
|
1450
|
+
'@type': z.literal('MonetaryAmount'),
|
|
1451
|
+
...MonetaryAmountProperties,
|
|
1452
|
+
}),
|
|
1203
1453
|
z.object({
|
|
1204
1454
|
'@type': z.literal('Location'),
|
|
1205
1455
|
...LocationProperties,
|
|
@@ -1213,6 +1463,10 @@ export const ReactActionAndChildrenSchema = z
|
|
|
1213
1463
|
'@type': z.literal('ReactAction'),
|
|
1214
1464
|
...ReactActionProperties,
|
|
1215
1465
|
}),
|
|
1466
|
+
z.object({
|
|
1467
|
+
'@type': z.literal('UnlikeAction'),
|
|
1468
|
+
...UnlikeActionProperties,
|
|
1469
|
+
}),
|
|
1216
1470
|
z.object({
|
|
1217
1471
|
'@type': z.literal('LikeAction'),
|
|
1218
1472
|
...LikeActionProperties,
|
|
@@ -1225,12 +1479,19 @@ export const JoinActionAndChildrenSchema = JoinActionSchema;
|
|
|
1225
1479
|
export const ImageObjectAndChildrenSchema = ImageObjectSchema;
|
|
1226
1480
|
export const FollowActionAndChildrenSchema = FollowActionSchema;
|
|
1227
1481
|
export const FindActionAndChildrenSchema = FindActionSchema;
|
|
1482
|
+
export const FinancialTransactionAndChildrenSchema = FinancialTransactionSchema;
|
|
1483
|
+
export const FinancialPostingAndChildrenSchema = FinancialPostingSchema;
|
|
1484
|
+
export const FinancialAccountAndChildrenSchema = FinancialAccountSchema;
|
|
1228
1485
|
export const ExperienceActionAndChildrenSchema = z
|
|
1229
1486
|
.discriminatedUnion('@type', [
|
|
1230
1487
|
z.object({
|
|
1231
1488
|
'@type': z.literal('ExperienceAction'),
|
|
1232
1489
|
...ExperienceActionProperties,
|
|
1233
1490
|
}),
|
|
1491
|
+
z.object({
|
|
1492
|
+
'@type': z.literal('SleepAction'),
|
|
1493
|
+
...SleepActionProperties,
|
|
1494
|
+
}),
|
|
1234
1495
|
z.object({
|
|
1235
1496
|
'@type': z.literal('LeaveAction'),
|
|
1236
1497
|
...LeaveActionProperties,
|
|
@@ -1349,6 +1610,22 @@ export const IntangibleAndChildrenSchema = z
|
|
|
1349
1610
|
'@type': z.literal('Intangible'),
|
|
1350
1611
|
...IntangibleProperties,
|
|
1351
1612
|
}),
|
|
1613
|
+
z.object({
|
|
1614
|
+
'@type': z.literal('PaymentCard'),
|
|
1615
|
+
...PaymentCardProperties,
|
|
1616
|
+
}),
|
|
1617
|
+
z.object({
|
|
1618
|
+
'@type': z.literal('FinancialTransaction'),
|
|
1619
|
+
...FinancialTransactionProperties,
|
|
1620
|
+
}),
|
|
1621
|
+
z.object({
|
|
1622
|
+
'@type': z.literal('FinancialPosting'),
|
|
1623
|
+
...FinancialPostingProperties,
|
|
1624
|
+
}),
|
|
1625
|
+
z.object({
|
|
1626
|
+
'@type': z.literal('FinancialAccount'),
|
|
1627
|
+
...FinancialAccountProperties,
|
|
1628
|
+
}),
|
|
1352
1629
|
z.object({
|
|
1353
1630
|
'@type': z.literal('Selector'),
|
|
1354
1631
|
...SelectorProperties,
|
|
@@ -1383,6 +1660,14 @@ export const SessionAndChildrenSchema = z
|
|
|
1383
1660
|
'@type': z.literal('Tenure'),
|
|
1384
1661
|
...TenureProperties,
|
|
1385
1662
|
}),
|
|
1663
|
+
z.object({
|
|
1664
|
+
'@type': z.literal('SleepStage'),
|
|
1665
|
+
...SleepStageProperties,
|
|
1666
|
+
}),
|
|
1667
|
+
z.object({
|
|
1668
|
+
'@type': z.literal('SleepSession'),
|
|
1669
|
+
...SleepSessionProperties,
|
|
1670
|
+
}),
|
|
1386
1671
|
z.object({
|
|
1387
1672
|
'@type': z.literal('Relationship'),
|
|
1388
1673
|
...RelationshipProperties,
|
|
@@ -1391,6 +1676,10 @@ export const SessionAndChildrenSchema = z
|
|
|
1391
1676
|
'@type': z.literal('Membership'),
|
|
1392
1677
|
...MembershipProperties,
|
|
1393
1678
|
}),
|
|
1679
|
+
z.object({
|
|
1680
|
+
'@type': z.literal('Journey'),
|
|
1681
|
+
...JourneyProperties,
|
|
1682
|
+
}),
|
|
1394
1683
|
z.object({
|
|
1395
1684
|
'@type': z.literal('Enrollment'),
|
|
1396
1685
|
...EnrollmentProperties,
|
|
@@ -1412,6 +1701,10 @@ export const CommunicateActionAndChildrenSchema = z
|
|
|
1412
1701
|
'@type': z.literal('CommunicateAction'),
|
|
1413
1702
|
...CommunicateActionProperties,
|
|
1414
1703
|
}),
|
|
1704
|
+
z.object({
|
|
1705
|
+
'@type': z.literal('ShareAction'),
|
|
1706
|
+
...ShareActionProperties,
|
|
1707
|
+
}),
|
|
1415
1708
|
z.object({
|
|
1416
1709
|
'@type': z.literal('CheckInAction'),
|
|
1417
1710
|
...CheckInActionProperties,
|
|
@@ -1436,6 +1729,10 @@ export const InteractActionAndChildrenSchema = z
|
|
|
1436
1729
|
'@type': z.literal('CommunicateAction'),
|
|
1437
1730
|
...CommunicateActionProperties,
|
|
1438
1731
|
}),
|
|
1732
|
+
z.object({
|
|
1733
|
+
'@type': z.literal('ShareAction'),
|
|
1734
|
+
...ShareActionProperties,
|
|
1735
|
+
}),
|
|
1439
1736
|
z.object({
|
|
1440
1737
|
'@type': z.literal('CheckInAction'),
|
|
1441
1738
|
...CheckInActionProperties,
|
|
@@ -1524,6 +1821,10 @@ export const AssessActionAndChildrenSchema = z
|
|
|
1524
1821
|
'@type': z.literal('ReactAction'),
|
|
1525
1822
|
...ReactActionProperties,
|
|
1526
1823
|
}),
|
|
1824
|
+
z.object({
|
|
1825
|
+
'@type': z.literal('UnlikeAction'),
|
|
1826
|
+
...UnlikeActionProperties,
|
|
1827
|
+
}),
|
|
1527
1828
|
z.object({
|
|
1528
1829
|
'@type': z.literal('LikeAction'),
|
|
1529
1830
|
...LikeActionProperties,
|
|
@@ -1538,6 +1839,10 @@ export const CreateActionAndChildrenSchema = z
|
|
|
1538
1839
|
'@type': z.literal('CreateAction'),
|
|
1539
1840
|
...CreateActionProperties,
|
|
1540
1841
|
}),
|
|
1842
|
+
z.object({
|
|
1843
|
+
'@type': z.literal('ScreenshotAction'),
|
|
1844
|
+
...ScreenshotActionProperties,
|
|
1845
|
+
}),
|
|
1541
1846
|
z.object({
|
|
1542
1847
|
'@type': z.literal('RecordAction'),
|
|
1543
1848
|
...RecordActionProperties,
|
|
@@ -1624,6 +1929,14 @@ export const ActionAndChildrenSchema = z
|
|
|
1624
1929
|
'@type': z.literal('PlanAction'),
|
|
1625
1930
|
...PlanActionProperties,
|
|
1626
1931
|
}),
|
|
1932
|
+
z.object({
|
|
1933
|
+
'@type': z.literal('TradeAction'),
|
|
1934
|
+
...TradeActionProperties,
|
|
1935
|
+
}),
|
|
1936
|
+
z.object({
|
|
1937
|
+
'@type': z.literal('PayAction'),
|
|
1938
|
+
...PayActionProperties,
|
|
1939
|
+
}),
|
|
1627
1940
|
z.object({
|
|
1628
1941
|
'@type': z.literal('MoveAction'),
|
|
1629
1942
|
...MoveActionProperties,
|
|
@@ -1636,6 +1949,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1636
1949
|
'@type': z.literal('MessageAction'),
|
|
1637
1950
|
...MessageActionProperties,
|
|
1638
1951
|
}),
|
|
1952
|
+
z.object({
|
|
1953
|
+
'@type': z.literal('MeasureAction'),
|
|
1954
|
+
...MeasureActionProperties,
|
|
1955
|
+
}),
|
|
1639
1956
|
z.object({
|
|
1640
1957
|
'@type': z.literal('FindAction'),
|
|
1641
1958
|
...FindActionProperties,
|
|
@@ -1644,6 +1961,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1644
1961
|
'@type': z.literal('ExperienceAction'),
|
|
1645
1962
|
...ExperienceActionProperties,
|
|
1646
1963
|
}),
|
|
1964
|
+
z.object({
|
|
1965
|
+
'@type': z.literal('SleepAction'),
|
|
1966
|
+
...SleepActionProperties,
|
|
1967
|
+
}),
|
|
1647
1968
|
z.object({
|
|
1648
1969
|
'@type': z.literal('LeaveAction'),
|
|
1649
1970
|
...LeaveActionProperties,
|
|
@@ -1708,6 +2029,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1708
2029
|
'@type': z.literal('CommunicateAction'),
|
|
1709
2030
|
...CommunicateActionProperties,
|
|
1710
2031
|
}),
|
|
2032
|
+
z.object({
|
|
2033
|
+
'@type': z.literal('ShareAction'),
|
|
2034
|
+
...ShareActionProperties,
|
|
2035
|
+
}),
|
|
1711
2036
|
z.object({
|
|
1712
2037
|
'@type': z.literal('CheckInAction'),
|
|
1713
2038
|
...CheckInActionProperties,
|
|
@@ -1736,6 +2061,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1736
2061
|
'@type': z.literal('ReactAction'),
|
|
1737
2062
|
...ReactActionProperties,
|
|
1738
2063
|
}),
|
|
2064
|
+
z.object({
|
|
2065
|
+
'@type': z.literal('UnlikeAction'),
|
|
2066
|
+
...UnlikeActionProperties,
|
|
2067
|
+
}),
|
|
1739
2068
|
z.object({
|
|
1740
2069
|
'@type': z.literal('LikeAction'),
|
|
1741
2070
|
...LikeActionProperties,
|
|
@@ -1744,6 +2073,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1744
2073
|
'@type': z.literal('CreateAction'),
|
|
1745
2074
|
...CreateActionProperties,
|
|
1746
2075
|
}),
|
|
2076
|
+
z.object({
|
|
2077
|
+
'@type': z.literal('ScreenshotAction'),
|
|
2078
|
+
...ScreenshotActionProperties,
|
|
2079
|
+
}),
|
|
1747
2080
|
z.object({
|
|
1748
2081
|
'@type': z.literal('RecordAction'),
|
|
1749
2082
|
...RecordActionProperties,
|
|
@@ -1805,6 +2138,10 @@ export const CreativeWorkAndChildrenSchema = z
|
|
|
1805
2138
|
'@type': z.literal('CreativeWork'),
|
|
1806
2139
|
...CreativeWorkProperties,
|
|
1807
2140
|
}),
|
|
2141
|
+
z.object({
|
|
2142
|
+
'@type': z.literal('StillImage'),
|
|
2143
|
+
...StillImageProperties,
|
|
2144
|
+
}),
|
|
1808
2145
|
z.object({
|
|
1809
2146
|
'@type': z.literal('SoftwareSourceCode'),
|
|
1810
2147
|
...SoftwareSourceCodeProperties,
|
|
@@ -1829,10 +2166,18 @@ export const CreativeWorkAndChildrenSchema = z
|
|
|
1829
2166
|
'@type': z.literal('Post'),
|
|
1830
2167
|
...PostProperties,
|
|
1831
2168
|
}),
|
|
2169
|
+
z.object({
|
|
2170
|
+
'@type': z.literal('PodcastSeries'),
|
|
2171
|
+
...PodcastSeriesProperties,
|
|
2172
|
+
}),
|
|
1832
2173
|
z.object({
|
|
1833
2174
|
'@type': z.literal('PodcastEpisode'),
|
|
1834
2175
|
...PodcastEpisodeProperties,
|
|
1835
2176
|
}),
|
|
2177
|
+
z.object({
|
|
2178
|
+
'@type': z.literal('Note'),
|
|
2179
|
+
...NoteProperties,
|
|
2180
|
+
}),
|
|
1836
2181
|
z.object({
|
|
1837
2182
|
'@type': z.literal('MusicRecording'),
|
|
1838
2183
|
...MusicRecordingProperties,
|
|
@@ -1841,6 +2186,10 @@ export const CreativeWorkAndChildrenSchema = z
|
|
|
1841
2186
|
'@type': z.literal('MusicAlbum'),
|
|
1842
2187
|
...MusicAlbumProperties,
|
|
1843
2188
|
}),
|
|
2189
|
+
z.object({
|
|
2190
|
+
'@type': z.literal('MovingImage'),
|
|
2191
|
+
...MovingImageProperties,
|
|
2192
|
+
}),
|
|
1844
2193
|
z.object({
|
|
1845
2194
|
'@type': z.literal('Message'),
|
|
1846
2195
|
...MessageProperties,
|
|
@@ -1961,10 +2310,6 @@ export const EntityAndChildrenSchema = z
|
|
|
1961
2310
|
'@type': z.literal('Meal'),
|
|
1962
2311
|
...MealProperties,
|
|
1963
2312
|
}),
|
|
1964
|
-
z.object({
|
|
1965
|
-
'@type': z.literal('Journey'),
|
|
1966
|
-
...JourneyProperties,
|
|
1967
|
-
}),
|
|
1968
2313
|
z.object({
|
|
1969
2314
|
'@type': z.literal('Event'),
|
|
1970
2315
|
...EventProperties,
|
|
@@ -1985,6 +2330,22 @@ export const EntityAndChildrenSchema = z
|
|
|
1985
2330
|
'@type': z.literal('Intangible'),
|
|
1986
2331
|
...IntangibleProperties,
|
|
1987
2332
|
}),
|
|
2333
|
+
z.object({
|
|
2334
|
+
'@type': z.literal('PaymentCard'),
|
|
2335
|
+
...PaymentCardProperties,
|
|
2336
|
+
}),
|
|
2337
|
+
z.object({
|
|
2338
|
+
'@type': z.literal('FinancialTransaction'),
|
|
2339
|
+
...FinancialTransactionProperties,
|
|
2340
|
+
}),
|
|
2341
|
+
z.object({
|
|
2342
|
+
'@type': z.literal('FinancialPosting'),
|
|
2343
|
+
...FinancialPostingProperties,
|
|
2344
|
+
}),
|
|
2345
|
+
z.object({
|
|
2346
|
+
'@type': z.literal('FinancialAccount'),
|
|
2347
|
+
...FinancialAccountProperties,
|
|
2348
|
+
}),
|
|
1988
2349
|
z.object({
|
|
1989
2350
|
'@type': z.literal('Selector'),
|
|
1990
2351
|
...SelectorProperties,
|
|
@@ -2013,6 +2374,14 @@ export const EntityAndChildrenSchema = z
|
|
|
2013
2374
|
'@type': z.literal('Tenure'),
|
|
2014
2375
|
...TenureProperties,
|
|
2015
2376
|
}),
|
|
2377
|
+
z.object({
|
|
2378
|
+
'@type': z.literal('SleepStage'),
|
|
2379
|
+
...SleepStageProperties,
|
|
2380
|
+
}),
|
|
2381
|
+
z.object({
|
|
2382
|
+
'@type': z.literal('SleepSession'),
|
|
2383
|
+
...SleepSessionProperties,
|
|
2384
|
+
}),
|
|
2016
2385
|
z.object({
|
|
2017
2386
|
'@type': z.literal('Relationship'),
|
|
2018
2387
|
...RelationshipProperties,
|
|
@@ -2021,6 +2390,10 @@ export const EntityAndChildrenSchema = z
|
|
|
2021
2390
|
'@type': z.literal('Membership'),
|
|
2022
2391
|
...MembershipProperties,
|
|
2023
2392
|
}),
|
|
2393
|
+
z.object({
|
|
2394
|
+
'@type': z.literal('Journey'),
|
|
2395
|
+
...JourneyProperties,
|
|
2396
|
+
}),
|
|
2024
2397
|
z.object({
|
|
2025
2398
|
'@type': z.literal('Enrollment'),
|
|
2026
2399
|
...EnrollmentProperties,
|
|
@@ -2061,6 +2434,10 @@ export const EntityAndChildrenSchema = z
|
|
|
2061
2434
|
'@type': z.literal('CreativeWork'),
|
|
2062
2435
|
...CreativeWorkProperties,
|
|
2063
2436
|
}),
|
|
2437
|
+
z.object({
|
|
2438
|
+
'@type': z.literal('StillImage'),
|
|
2439
|
+
...StillImageProperties,
|
|
2440
|
+
}),
|
|
2064
2441
|
z.object({
|
|
2065
2442
|
'@type': z.literal('SoftwareSourceCode'),
|
|
2066
2443
|
...SoftwareSourceCodeProperties,
|
|
@@ -2085,10 +2462,18 @@ export const EntityAndChildrenSchema = z
|
|
|
2085
2462
|
'@type': z.literal('Post'),
|
|
2086
2463
|
...PostProperties,
|
|
2087
2464
|
}),
|
|
2465
|
+
z.object({
|
|
2466
|
+
'@type': z.literal('PodcastSeries'),
|
|
2467
|
+
...PodcastSeriesProperties,
|
|
2468
|
+
}),
|
|
2088
2469
|
z.object({
|
|
2089
2470
|
'@type': z.literal('PodcastEpisode'),
|
|
2090
2471
|
...PodcastEpisodeProperties,
|
|
2091
2472
|
}),
|
|
2473
|
+
z.object({
|
|
2474
|
+
'@type': z.literal('Note'),
|
|
2475
|
+
...NoteProperties,
|
|
2476
|
+
}),
|
|
2092
2477
|
z.object({
|
|
2093
2478
|
'@type': z.literal('MusicRecording'),
|
|
2094
2479
|
...MusicRecordingProperties,
|
|
@@ -2097,6 +2482,10 @@ export const EntityAndChildrenSchema = z
|
|
|
2097
2482
|
'@type': z.literal('MusicAlbum'),
|
|
2098
2483
|
...MusicAlbumProperties,
|
|
2099
2484
|
}),
|
|
2485
|
+
z.object({
|
|
2486
|
+
'@type': z.literal('MovingImage'),
|
|
2487
|
+
...MovingImageProperties,
|
|
2488
|
+
}),
|
|
2100
2489
|
z.object({
|
|
2101
2490
|
'@type': z.literal('Message'),
|
|
2102
2491
|
...MessageProperties,
|
|
@@ -2209,6 +2598,14 @@ export const BaseAndChildrenSchema = z
|
|
|
2209
2598
|
'@type': z.literal('PlanAction'),
|
|
2210
2599
|
...PlanActionProperties,
|
|
2211
2600
|
}),
|
|
2601
|
+
z.object({
|
|
2602
|
+
'@type': z.literal('TradeAction'),
|
|
2603
|
+
...TradeActionProperties,
|
|
2604
|
+
}),
|
|
2605
|
+
z.object({
|
|
2606
|
+
'@type': z.literal('PayAction'),
|
|
2607
|
+
...PayActionProperties,
|
|
2608
|
+
}),
|
|
2212
2609
|
z.object({
|
|
2213
2610
|
'@type': z.literal('MoveAction'),
|
|
2214
2611
|
...MoveActionProperties,
|
|
@@ -2221,6 +2618,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2221
2618
|
'@type': z.literal('MessageAction'),
|
|
2222
2619
|
...MessageActionProperties,
|
|
2223
2620
|
}),
|
|
2621
|
+
z.object({
|
|
2622
|
+
'@type': z.literal('MeasureAction'),
|
|
2623
|
+
...MeasureActionProperties,
|
|
2624
|
+
}),
|
|
2224
2625
|
z.object({
|
|
2225
2626
|
'@type': z.literal('FindAction'),
|
|
2226
2627
|
...FindActionProperties,
|
|
@@ -2229,6 +2630,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2229
2630
|
'@type': z.literal('ExperienceAction'),
|
|
2230
2631
|
...ExperienceActionProperties,
|
|
2231
2632
|
}),
|
|
2633
|
+
z.object({
|
|
2634
|
+
'@type': z.literal('SleepAction'),
|
|
2635
|
+
...SleepActionProperties,
|
|
2636
|
+
}),
|
|
2232
2637
|
z.object({
|
|
2233
2638
|
'@type': z.literal('LeaveAction'),
|
|
2234
2639
|
...LeaveActionProperties,
|
|
@@ -2293,6 +2698,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2293
2698
|
'@type': z.literal('CommunicateAction'),
|
|
2294
2699
|
...CommunicateActionProperties,
|
|
2295
2700
|
}),
|
|
2701
|
+
z.object({
|
|
2702
|
+
'@type': z.literal('ShareAction'),
|
|
2703
|
+
...ShareActionProperties,
|
|
2704
|
+
}),
|
|
2296
2705
|
z.object({
|
|
2297
2706
|
'@type': z.literal('CheckInAction'),
|
|
2298
2707
|
...CheckInActionProperties,
|
|
@@ -2321,6 +2730,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2321
2730
|
'@type': z.literal('ReactAction'),
|
|
2322
2731
|
...ReactActionProperties,
|
|
2323
2732
|
}),
|
|
2733
|
+
z.object({
|
|
2734
|
+
'@type': z.literal('UnlikeAction'),
|
|
2735
|
+
...UnlikeActionProperties,
|
|
2736
|
+
}),
|
|
2324
2737
|
z.object({
|
|
2325
2738
|
'@type': z.literal('LikeAction'),
|
|
2326
2739
|
...LikeActionProperties,
|
|
@@ -2329,6 +2742,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2329
2742
|
'@type': z.literal('CreateAction'),
|
|
2330
2743
|
...CreateActionProperties,
|
|
2331
2744
|
}),
|
|
2745
|
+
z.object({
|
|
2746
|
+
'@type': z.literal('ScreenshotAction'),
|
|
2747
|
+
...ScreenshotActionProperties,
|
|
2748
|
+
}),
|
|
2332
2749
|
z.object({
|
|
2333
2750
|
'@type': z.literal('RecordAction'),
|
|
2334
2751
|
...RecordActionProperties,
|
|
@@ -2393,10 +2810,6 @@ export const BaseAndChildrenSchema = z
|
|
|
2393
2810
|
'@type': z.literal('Meal'),
|
|
2394
2811
|
...MealProperties,
|
|
2395
2812
|
}),
|
|
2396
|
-
z.object({
|
|
2397
|
-
'@type': z.literal('Journey'),
|
|
2398
|
-
...JourneyProperties,
|
|
2399
|
-
}),
|
|
2400
2813
|
z.object({
|
|
2401
2814
|
'@type': z.literal('Event'),
|
|
2402
2815
|
...EventProperties,
|
|
@@ -2417,6 +2830,22 @@ export const BaseAndChildrenSchema = z
|
|
|
2417
2830
|
'@type': z.literal('Intangible'),
|
|
2418
2831
|
...IntangibleProperties,
|
|
2419
2832
|
}),
|
|
2833
|
+
z.object({
|
|
2834
|
+
'@type': z.literal('PaymentCard'),
|
|
2835
|
+
...PaymentCardProperties,
|
|
2836
|
+
}),
|
|
2837
|
+
z.object({
|
|
2838
|
+
'@type': z.literal('FinancialTransaction'),
|
|
2839
|
+
...FinancialTransactionProperties,
|
|
2840
|
+
}),
|
|
2841
|
+
z.object({
|
|
2842
|
+
'@type': z.literal('FinancialPosting'),
|
|
2843
|
+
...FinancialPostingProperties,
|
|
2844
|
+
}),
|
|
2845
|
+
z.object({
|
|
2846
|
+
'@type': z.literal('FinancialAccount'),
|
|
2847
|
+
...FinancialAccountProperties,
|
|
2848
|
+
}),
|
|
2420
2849
|
z.object({
|
|
2421
2850
|
'@type': z.literal('Selector'),
|
|
2422
2851
|
...SelectorProperties,
|
|
@@ -2445,6 +2874,14 @@ export const BaseAndChildrenSchema = z
|
|
|
2445
2874
|
'@type': z.literal('Tenure'),
|
|
2446
2875
|
...TenureProperties,
|
|
2447
2876
|
}),
|
|
2877
|
+
z.object({
|
|
2878
|
+
'@type': z.literal('SleepStage'),
|
|
2879
|
+
...SleepStageProperties,
|
|
2880
|
+
}),
|
|
2881
|
+
z.object({
|
|
2882
|
+
'@type': z.literal('SleepSession'),
|
|
2883
|
+
...SleepSessionProperties,
|
|
2884
|
+
}),
|
|
2448
2885
|
z.object({
|
|
2449
2886
|
'@type': z.literal('Relationship'),
|
|
2450
2887
|
...RelationshipProperties,
|
|
@@ -2453,6 +2890,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2453
2890
|
'@type': z.literal('Membership'),
|
|
2454
2891
|
...MembershipProperties,
|
|
2455
2892
|
}),
|
|
2893
|
+
z.object({
|
|
2894
|
+
'@type': z.literal('Journey'),
|
|
2895
|
+
...JourneyProperties,
|
|
2896
|
+
}),
|
|
2456
2897
|
z.object({
|
|
2457
2898
|
'@type': z.literal('Enrollment'),
|
|
2458
2899
|
...EnrollmentProperties,
|
|
@@ -2493,6 +2934,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2493
2934
|
'@type': z.literal('CreativeWork'),
|
|
2494
2935
|
...CreativeWorkProperties,
|
|
2495
2936
|
}),
|
|
2937
|
+
z.object({
|
|
2938
|
+
'@type': z.literal('StillImage'),
|
|
2939
|
+
...StillImageProperties,
|
|
2940
|
+
}),
|
|
2496
2941
|
z.object({
|
|
2497
2942
|
'@type': z.literal('SoftwareSourceCode'),
|
|
2498
2943
|
...SoftwareSourceCodeProperties,
|
|
@@ -2517,10 +2962,18 @@ export const BaseAndChildrenSchema = z
|
|
|
2517
2962
|
'@type': z.literal('Post'),
|
|
2518
2963
|
...PostProperties,
|
|
2519
2964
|
}),
|
|
2965
|
+
z.object({
|
|
2966
|
+
'@type': z.literal('PodcastSeries'),
|
|
2967
|
+
...PodcastSeriesProperties,
|
|
2968
|
+
}),
|
|
2520
2969
|
z.object({
|
|
2521
2970
|
'@type': z.literal('PodcastEpisode'),
|
|
2522
2971
|
...PodcastEpisodeProperties,
|
|
2523
2972
|
}),
|
|
2973
|
+
z.object({
|
|
2974
|
+
'@type': z.literal('Note'),
|
|
2975
|
+
...NoteProperties,
|
|
2976
|
+
}),
|
|
2524
2977
|
z.object({
|
|
2525
2978
|
'@type': z.literal('MusicRecording'),
|
|
2526
2979
|
...MusicRecordingProperties,
|
|
@@ -2529,6 +2982,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2529
2982
|
'@type': z.literal('MusicAlbum'),
|
|
2530
2983
|
...MusicAlbumProperties,
|
|
2531
2984
|
}),
|
|
2985
|
+
z.object({
|
|
2986
|
+
'@type': z.literal('MovingImage'),
|
|
2987
|
+
...MovingImageProperties,
|
|
2988
|
+
}),
|
|
2532
2989
|
z.object({
|
|
2533
2990
|
'@type': z.literal('Message'),
|
|
2534
2991
|
...MessageProperties,
|