@chronicle.app/schema 0.2.0 → 0.4.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/dist/schema.js CHANGED
@@ -1,6 +1,13 @@
1
- export const SCHEMA_VERSION = '0.1.0';
1
+ export const SCHEMA_VERSION = '0.3.0';
2
2
  // Generated from chronicle.ttl. Do not edit; run npm run schema:generate.
3
3
  import { z } from 'zod';
4
+ import { isDateTime, isInstant } from './datetime.js';
5
+ const DateTimeSchema = z.union([
6
+ z.date(),
7
+ z
8
+ .string()
9
+ .refine(isDateTime, 'Not a date or time. Use EDTF, such as 2026-03-14T09:26:00Z, 2026-03-14, or 1987.'),
10
+ ]);
4
11
  function requireNodeIdentity(node, ctx) {
5
12
  const hasKey = Array.isArray(node['@key']) && node['@key'].length > 0;
6
13
  const hasId = typeof node['@id'] === 'string' && node['@id'].length > 0;
@@ -18,6 +25,13 @@ const BaseProperties = {
18
25
  .array(z.union([z.string(), z.object({ key: z.string(), value: z.string() })]))
19
26
  .optional(),
20
27
  '@id': z.string().optional(),
28
+ '@asserts': z.array(z.string()).optional(),
29
+ '@assertedAt': z
30
+ .union([
31
+ z.date(),
32
+ z.string().refine(isInstant, 'Not an instant. Use a UTC time, such as 2026-03-14T09:26:00Z.'),
33
+ ])
34
+ .optional(),
21
35
  };
22
36
  export const BaseSchema = z
23
37
  .object({
@@ -25,29 +39,24 @@ export const BaseSchema = z
25
39
  ...BaseProperties,
26
40
  })
27
41
  .superRefine(requireNodeIdentity);
28
- const ActionProperties = {
29
- ...BaseProperties,
30
- agent: z.lazy(() => AgentAndChildrenSchema).optional(),
31
- instrument: z.lazy(() => EntityAndChildrenSchema).optional(),
32
- object: z.lazy(() => EntityAndChildrenSchema).optional(),
33
- timestamp: z.lazy(() => z.coerce.date()).optional(),
34
- };
35
- export const ActionSchema = z
36
- .object({
37
- '@type': z.literal('Action'),
38
- ...ActionProperties,
39
- })
40
- .superRefine(requireNodeIdentity);
41
42
  const EntityProperties = {
42
43
  ...BaseProperties,
43
44
  about: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
45
+ alternateName: z.lazy(() => z.array(z.string())).optional(),
44
46
  body: z.lazy(() => z.string()).optional(),
47
+ category: z.lazy(() => z.array(z.string())).optional(),
48
+ contains: z.lazy(() => z.array(MediaObjectAndChildrenSchema)).optional(),
45
49
  description: z.lazy(() => z.string()).optional(),
50
+ emblem: z.lazy(() => ImageObjectAndChildrenSchema).optional(),
46
51
  handle: z.lazy(() => z.string()).optional(),
52
+ inAccount: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
47
53
  inRealm: z.lazy(() => RealmAndChildrenSchema).optional(),
48
54
  isPartOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
55
+ location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
49
56
  name: z.lazy(() => z.string()).optional(),
57
+ references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
50
58
  sameAs: z.lazy(() => z.array(z.union([EntityAndChildrenSchema, z.string()]))).optional(),
59
+ tags: z.lazy(() => z.array(z.string())).optional(),
51
60
  url: z.lazy(() => z.string().url()).optional(),
52
61
  };
53
62
  export const EntitySchema = z
@@ -56,6 +65,87 @@ export const EntitySchema = z
56
65
  ...EntityProperties,
57
66
  })
58
67
  .superRefine(requireNodeIdentity);
68
+ const CreativeWorkProperties = {
69
+ ...EntityProperties,
70
+ author: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
71
+ creator: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
72
+ datePublished: z.lazy(() => DateTimeSchema).optional(),
73
+ genre: z.lazy(() => z.array(z.string())).optional(),
74
+ isBasedOn: z.lazy(() => z.array(CreativeWorkAndChildrenSchema)).optional(),
75
+ publisher: z.lazy(() => z.array(OrganizationAndChildrenSchema)).optional(),
76
+ references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
77
+ sourceFormat: z.lazy(() => z.string()).optional(),
78
+ visibility: z.lazy(() => z.string()).optional(),
79
+ };
80
+ export const CreativeWorkSchema = z
81
+ .object({
82
+ '@type': z.literal('CreativeWork'),
83
+ ...CreativeWorkProperties,
84
+ })
85
+ .superRefine(requireNodeIdentity);
86
+ const SoftwareProperties = {
87
+ ...CreativeWorkProperties,
88
+ };
89
+ export const SoftwareSchema = z
90
+ .object({
91
+ '@type': z.literal('Software'),
92
+ ...SoftwareProperties,
93
+ })
94
+ .superRefine(requireNodeIdentity);
95
+ const AIModelProperties = {
96
+ ...SoftwareProperties,
97
+ };
98
+ export const AIModelSchema = z
99
+ .object({
100
+ '@type': z.literal('AIModel'),
101
+ ...AIModelProperties,
102
+ })
103
+ .superRefine(requireNodeIdentity);
104
+ const ActionProperties = {
105
+ ...BaseProperties,
106
+ agent: z.lazy(() => AgentAndChildrenSchema).optional(),
107
+ endTime: z.lazy(() => DateTimeSchema).optional(),
108
+ instrument: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
109
+ location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
110
+ object: z.lazy(() => EntityAndChildrenSchema).optional(),
111
+ result: z.lazy(() => EntityAndChildrenSchema).optional(),
112
+ startTime: z.lazy(() => DateTimeSchema).optional(),
113
+ target: z.lazy(() => EntityAndChildrenSchema).optional(),
114
+ timestamp: z.lazy(() => DateTimeSchema).optional(),
115
+ };
116
+ export const ActionSchema = z
117
+ .object({
118
+ '@type': z.literal('Action'),
119
+ ...ActionProperties,
120
+ })
121
+ .superRefine(requireNodeIdentity);
122
+ const AcceptActionProperties = {
123
+ ...ActionProperties,
124
+ };
125
+ export const AcceptActionSchema = z
126
+ .object({
127
+ '@type': z.literal('AcceptAction'),
128
+ ...AcceptActionProperties,
129
+ })
130
+ .superRefine(requireNodeIdentity);
131
+ const UpdateActionProperties = {
132
+ ...ActionProperties,
133
+ };
134
+ export const UpdateActionSchema = z
135
+ .object({
136
+ '@type': z.literal('UpdateAction'),
137
+ ...UpdateActionProperties,
138
+ })
139
+ .superRefine(requireNodeIdentity);
140
+ const AddActionProperties = {
141
+ ...UpdateActionProperties,
142
+ };
143
+ export const AddActionSchema = z
144
+ .object({
145
+ '@type': z.literal('AddAction'),
146
+ ...AddActionProperties,
147
+ })
148
+ .superRefine(requireNodeIdentity);
59
149
  const AgentProperties = {
60
150
  ...EntityProperties,
61
151
  memberOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
@@ -66,10 +156,47 @@ export const AgentSchema = z
66
156
  ...AgentProperties,
67
157
  })
68
158
  .superRefine(requireNodeIdentity);
159
+ const CreateActionProperties = {
160
+ ...ActionProperties,
161
+ };
162
+ export const CreateActionSchema = z
163
+ .object({
164
+ '@type': z.literal('CreateAction'),
165
+ ...CreateActionProperties,
166
+ })
167
+ .superRefine(requireNodeIdentity);
168
+ const AnnotateActionProperties = {
169
+ ...CreateActionProperties,
170
+ };
171
+ export const AnnotateActionSchema = z
172
+ .object({
173
+ '@type': z.literal('AnnotateAction'),
174
+ ...AnnotateActionProperties,
175
+ })
176
+ .superRefine(requireNodeIdentity);
177
+ const ArticleProperties = {
178
+ ...CreativeWorkProperties,
179
+ };
180
+ export const ArticleSchema = z
181
+ .object({
182
+ '@type': z.literal('Article'),
183
+ ...ArticleProperties,
184
+ })
185
+ .superRefine(requireNodeIdentity);
186
+ const AssessActionProperties = {
187
+ ...ActionProperties,
188
+ };
189
+ export const AssessActionSchema = z
190
+ .object({
191
+ '@type': z.literal('AssessAction'),
192
+ ...AssessActionProperties,
193
+ })
194
+ .superRefine(requireNodeIdentity);
69
195
  const MediaObjectProperties = {
70
- ...EntityProperties,
196
+ ...CreativeWorkProperties,
71
197
  contentPath: z.lazy(() => z.string()).optional(),
72
198
  mimeType: z.lazy(() => z.string()).optional(),
199
+ snapshotOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
73
200
  };
74
201
  export const MediaObjectSchema = z
75
202
  .object({
@@ -79,6 +206,10 @@ export const MediaObjectSchema = z
79
206
  .superRefine(requireNodeIdentity);
80
207
  const AudioObjectProperties = {
81
208
  ...MediaObjectProperties,
209
+ artist: z.lazy(() => z.array(MusicGroupAndChildrenSchema)).optional(),
210
+ duration: z.lazy(() => z.string()).optional(),
211
+ genre: z.lazy(() => z.array(z.string())).optional(),
212
+ transcript: z.lazy(() => z.string()).optional(),
82
213
  };
83
214
  export const AudioObjectSchema = z
84
215
  .object({
@@ -86,6 +217,103 @@ export const AudioObjectSchema = z
86
217
  ...AudioObjectProperties,
87
218
  })
88
219
  .superRefine(requireNodeIdentity);
220
+ const BookProperties = {
221
+ ...CreativeWorkProperties,
222
+ pageCount: z.lazy(() => z.number()).optional(),
223
+ };
224
+ export const BookSchema = z
225
+ .object({
226
+ '@type': z.literal('Book'),
227
+ ...BookProperties,
228
+ })
229
+ .superRefine(requireNodeIdentity);
230
+ const OrganizeActionProperties = {
231
+ ...ActionProperties,
232
+ };
233
+ export const OrganizeActionSchema = z
234
+ .object({
235
+ '@type': z.literal('OrganizeAction'),
236
+ ...OrganizeActionProperties,
237
+ })
238
+ .superRefine(requireNodeIdentity);
239
+ const BookmarkActionProperties = {
240
+ ...OrganizeActionProperties,
241
+ };
242
+ export const BookmarkActionSchema = z
243
+ .object({
244
+ '@type': z.literal('BookmarkAction'),
245
+ ...BookmarkActionProperties,
246
+ })
247
+ .superRefine(requireNodeIdentity);
248
+ const CollectionProperties = {
249
+ ...CreativeWorkProperties,
250
+ };
251
+ export const CollectionSchema = z
252
+ .object({
253
+ '@type': z.literal('Collection'),
254
+ ...CollectionProperties,
255
+ })
256
+ .superRefine(requireNodeIdentity);
257
+ const CalendarProperties = {
258
+ ...CollectionProperties,
259
+ };
260
+ export const CalendarSchema = z
261
+ .object({
262
+ '@type': z.literal('Calendar'),
263
+ ...CalendarProperties,
264
+ })
265
+ .superRefine(requireNodeIdentity);
266
+ const InteractActionProperties = {
267
+ ...ActionProperties,
268
+ };
269
+ export const InteractActionSchema = z
270
+ .object({
271
+ '@type': z.literal('InteractAction'),
272
+ ...InteractActionProperties,
273
+ })
274
+ .superRefine(requireNodeIdentity);
275
+ const CommunicateActionProperties = {
276
+ ...InteractActionProperties,
277
+ };
278
+ export const CommunicateActionSchema = z
279
+ .object({
280
+ '@type': z.literal('CommunicateAction'),
281
+ ...CommunicateActionProperties,
282
+ })
283
+ .superRefine(requireNodeIdentity);
284
+ const CallActionProperties = {
285
+ ...CommunicateActionProperties,
286
+ };
287
+ export const CallActionSchema = z
288
+ .object({
289
+ '@type': z.literal('CallAction'),
290
+ ...CallActionProperties,
291
+ })
292
+ .superRefine(requireNodeIdentity);
293
+ const SessionProperties = {
294
+ ...EntityProperties,
295
+ references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
296
+ scheduledEnd: z.lazy(() => DateTimeSchema).optional(),
297
+ scheduledStart: z.lazy(() => DateTimeSchema).optional(),
298
+ subject: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
299
+ workingDirectory: z.lazy(() => DirectoryAndChildrenSchema).optional(),
300
+ };
301
+ export const SessionSchema = z
302
+ .object({
303
+ '@type': z.literal('Session'),
304
+ ...SessionProperties,
305
+ })
306
+ .superRefine(requireNodeIdentity);
307
+ const CallSessionProperties = {
308
+ ...SessionProperties,
309
+ recipient: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
310
+ };
311
+ export const CallSessionSchema = z
312
+ .object({
313
+ '@type': z.literal('CallSession'),
314
+ ...CallSessionProperties,
315
+ })
316
+ .superRefine(requireNodeIdentity);
89
317
  const CancelActionProperties = {
90
318
  ...ActionProperties,
91
319
  };
@@ -95,13 +323,62 @@ export const CancelActionSchema = z
95
323
  ...CancelActionProperties,
96
324
  })
97
325
  .superRefine(requireNodeIdentity);
98
- const CollectionProperties = {
326
+ const IntangibleProperties = {
99
327
  ...EntityProperties,
100
328
  };
101
- export const CollectionSchema = z
329
+ export const IntangibleSchema = z
102
330
  .object({
103
- '@type': z.literal('Collection'),
104
- ...CollectionProperties,
331
+ '@type': z.literal('Intangible'),
332
+ ...IntangibleProperties,
333
+ })
334
+ .superRefine(requireNodeIdentity);
335
+ const DefinedTermProperties = {
336
+ ...IntangibleProperties,
337
+ };
338
+ export const DefinedTermSchema = z
339
+ .object({
340
+ '@type': z.literal('DefinedTerm'),
341
+ ...DefinedTermProperties,
342
+ })
343
+ .superRefine(requireNodeIdentity);
344
+ const CategoryProperties = {
345
+ ...DefinedTermProperties,
346
+ color: z.lazy(() => z.string()).optional(),
347
+ };
348
+ export const CategorySchema = z
349
+ .object({
350
+ '@type': z.literal('Category'),
351
+ ...CategoryProperties,
352
+ })
353
+ .superRefine(requireNodeIdentity);
354
+ const ChangesetProperties = {
355
+ ...CreativeWorkProperties,
356
+ };
357
+ export const ChangesetSchema = z
358
+ .object({
359
+ '@type': z.literal('Changeset'),
360
+ ...ChangesetProperties,
361
+ })
362
+ .superRefine(requireNodeIdentity);
363
+ const ChannelProperties = {
364
+ ...CreativeWorkProperties,
365
+ member: z
366
+ .lazy(() => z.array(z.union([AgentAndChildrenSchema, PersonAndChildrenSchema])))
367
+ .optional(),
368
+ };
369
+ export const ChannelSchema = z
370
+ .object({
371
+ '@type': z.literal('Channel'),
372
+ ...ChannelProperties,
373
+ })
374
+ .superRefine(requireNodeIdentity);
375
+ const CheckInActionProperties = {
376
+ ...CommunicateActionProperties,
377
+ };
378
+ export const CheckInActionSchema = z
379
+ .object({
380
+ '@type': z.literal('CheckInAction'),
381
+ ...CheckInActionProperties,
105
382
  })
106
383
  .superRefine(requireNodeIdentity);
107
384
  const CommandProperties = {
@@ -113,6 +390,24 @@ export const CommandSchema = z
113
390
  ...CommandProperties,
114
391
  })
115
392
  .superRefine(requireNodeIdentity);
393
+ const ResponseProperties = {
394
+ ...CreativeWorkProperties,
395
+ };
396
+ export const ResponseSchema = z
397
+ .object({
398
+ '@type': z.literal('Response'),
399
+ ...ResponseProperties,
400
+ })
401
+ .superRefine(requireNodeIdentity);
402
+ const CommentProperties = {
403
+ ...ResponseProperties,
404
+ };
405
+ export const CommentSchema = z
406
+ .object({
407
+ '@type': z.literal('Comment'),
408
+ ...CommentProperties,
409
+ })
410
+ .superRefine(requireNodeIdentity);
116
411
  const CompleteActionProperties = {
117
412
  ...ActionProperties,
118
413
  };
@@ -122,6 +417,15 @@ export const CompleteActionSchema = z
122
417
  ...CompleteActionProperties,
123
418
  })
124
419
  .superRefine(requireNodeIdentity);
420
+ const ConsumeActionProperties = {
421
+ ...ActionProperties,
422
+ };
423
+ export const ConsumeActionSchema = z
424
+ .object({
425
+ '@type': z.literal('ConsumeAction'),
426
+ ...ConsumeActionProperties,
427
+ })
428
+ .superRefine(requireNodeIdentity);
125
429
  const DeleteActionProperties = {
126
430
  ...ActionProperties,
127
431
  };
@@ -131,174 +435,1432 @@ export const DeleteActionSchema = z
131
435
  ...DeleteActionProperties,
132
436
  })
133
437
  .superRefine(requireNodeIdentity);
134
- const DocumentObjectProperties = {
135
- ...MediaObjectProperties,
438
+ const PhysicalObjectProperties = {
439
+ ...EntityProperties,
440
+ model: z.lazy(() => z.string()).optional(),
136
441
  };
137
- export const DocumentObjectSchema = z
442
+ export const PhysicalObjectSchema = z
138
443
  .object({
139
- '@type': z.literal('DocumentObject'),
140
- ...DocumentObjectProperties,
444
+ '@type': z.literal('PhysicalObject'),
445
+ ...PhysicalObjectProperties,
141
446
  })
142
447
  .superRefine(requireNodeIdentity);
143
- const ExecuteActionProperties = {
144
- ...ActionProperties,
448
+ const DeviceProperties = {
449
+ ...PhysicalObjectProperties,
145
450
  };
146
- export const ExecuteActionSchema = z
451
+ export const DeviceSchema = z
147
452
  .object({
148
- '@type': z.literal('ExecuteAction'),
149
- ...ExecuteActionProperties,
453
+ '@type': z.literal('Device'),
454
+ ...DeviceProperties,
150
455
  })
151
456
  .superRefine(requireNodeIdentity);
152
- const ImageObjectProperties = {
153
- ...MediaObjectProperties,
457
+ const DeviceSessionProperties = {
458
+ ...SessionProperties,
154
459
  };
155
- export const ImageObjectSchema = z
460
+ export const DeviceSessionSchema = z
156
461
  .object({
157
- '@type': z.literal('ImageObject'),
158
- ...ImageObjectProperties,
462
+ '@type': z.literal('DeviceSession'),
463
+ ...DeviceSessionProperties,
159
464
  })
160
465
  .superRefine(requireNodeIdentity);
161
- const MessageProperties = {
162
- ...EntityProperties,
163
- author: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
164
- contains: z.lazy(() => z.array(MediaObjectAndChildrenSchema)).optional(),
165
- recipient: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
466
+ const DirectoryProperties = {
467
+ ...CollectionProperties,
166
468
  };
167
- export const MessageSchema = z
469
+ export const DirectorySchema = z
168
470
  .object({
169
- '@type': z.literal('Message'),
170
- ...MessageProperties,
471
+ '@type': z.literal('Directory'),
472
+ ...DirectoryProperties,
171
473
  })
172
474
  .superRefine(requireNodeIdentity);
173
- const MessageActionProperties = {
174
- ...ActionProperties,
475
+ const DocumentObjectProperties = {
476
+ ...MediaObjectProperties,
477
+ pageCount: z.lazy(() => z.number()).optional(),
175
478
  };
176
- export const MessageActionSchema = z
479
+ export const DocumentObjectSchema = z
177
480
  .object({
178
- '@type': z.literal('MessageAction'),
179
- ...MessageActionProperties,
481
+ '@type': z.literal('DocumentObject'),
482
+ ...DocumentObjectProperties,
180
483
  })
181
484
  .superRefine(requireNodeIdentity);
182
- const PersonProperties = {
183
- ...AgentProperties,
485
+ const DrinkActionProperties = {
486
+ ...ConsumeActionProperties,
184
487
  };
185
- export const PersonSchema = z
488
+ export const DrinkActionSchema = z
186
489
  .object({
187
- '@type': z.literal('Person'),
188
- ...PersonProperties,
490
+ '@type': z.literal('DrinkAction'),
491
+ ...DrinkActionProperties,
189
492
  })
190
493
  .superRefine(requireNodeIdentity);
191
- const PlanActionProperties = {
192
- ...ActionProperties,
494
+ const EatActionProperties = {
495
+ ...ConsumeActionProperties,
193
496
  };
194
- export const PlanActionSchema = z
497
+ export const EatActionSchema = z
195
498
  .object({
196
- '@type': z.literal('PlanAction'),
197
- ...PlanActionProperties,
499
+ '@type': z.literal('EatAction'),
500
+ ...EatActionProperties,
198
501
  })
199
502
  .superRefine(requireNodeIdentity);
200
- const ProjectProperties = {
201
- ...CollectionProperties,
503
+ const EnrollmentProperties = {
504
+ ...SessionProperties,
505
+ degree: z.lazy(() => z.string()).optional(),
202
506
  };
203
- export const ProjectSchema = z
507
+ export const EnrollmentSchema = z
204
508
  .object({
205
- '@type': z.literal('Project'),
206
- ...ProjectProperties,
509
+ '@type': z.literal('Enrollment'),
510
+ ...EnrollmentProperties,
207
511
  })
208
512
  .superRefine(requireNodeIdentity);
209
- const RealmProperties = {
210
- ...EntityProperties,
513
+ const SelectorProperties = {
514
+ ...IntangibleProperties,
515
+ selectorLabel: z.lazy(() => z.string()).optional(),
516
+ selectorValue: z.lazy(() => z.string()).optional(),
211
517
  };
212
- export const RealmSchema = z
518
+ export const SelectorSchema = z
213
519
  .object({
214
- '@type': z.literal('Realm'),
215
- ...RealmProperties,
520
+ '@type': z.literal('Selector'),
521
+ ...SelectorProperties,
216
522
  })
217
523
  .superRefine(requireNodeIdentity);
218
- const SoftwareAgentProperties = {
219
- ...AgentProperties,
524
+ const EpubCfiSelectorProperties = {
525
+ ...SelectorProperties,
220
526
  };
221
- export const SoftwareAgentSchema = z
527
+ export const EpubCfiSelectorSchema = z
222
528
  .object({
223
- '@type': z.literal('SoftwareAgent'),
224
- ...SoftwareAgentProperties,
529
+ '@type': z.literal('EpubCfiSelector'),
530
+ ...EpubCfiSelectorProperties,
225
531
  })
226
532
  .superRefine(requireNodeIdentity);
227
- const SoftwareApplicationProperties = {
533
+ const EventProperties = {
228
534
  ...EntityProperties,
535
+ attendee: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
536
+ location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
537
+ scheduledEnd: z.lazy(() => DateTimeSchema).optional(),
538
+ scheduledStart: z.lazy(() => DateTimeSchema).optional(),
229
539
  };
230
- export const SoftwareApplicationSchema = z
540
+ export const EventSchema = z
231
541
  .object({
232
- '@type': z.literal('SoftwareApplication'),
233
- ...SoftwareApplicationProperties,
542
+ '@type': z.literal('Event'),
543
+ ...EventProperties,
234
544
  })
235
545
  .superRefine(requireNodeIdentity);
236
- const TagProperties = {
237
- ...EntityProperties,
546
+ const ExecuteActionProperties = {
547
+ ...ActionProperties,
238
548
  };
239
- export const TagSchema = z
549
+ export const ExecuteActionSchema = z
240
550
  .object({
241
- '@type': z.literal('Tag'),
242
- ...TagProperties,
551
+ '@type': z.literal('ExecuteAction'),
552
+ ...ExecuteActionProperties,
243
553
  })
244
554
  .superRefine(requireNodeIdentity);
245
- const TaskProperties = {
246
- ...EntityProperties,
555
+ const ExperienceActionProperties = {
556
+ ...ActionProperties,
247
557
  };
248
- export const TaskSchema = z
558
+ export const ExperienceActionSchema = z
249
559
  .object({
250
- '@type': z.literal('Task'),
251
- ...TaskProperties,
560
+ '@type': z.literal('ExperienceAction'),
561
+ ...ExperienceActionProperties,
252
562
  })
253
563
  .superRefine(requireNodeIdentity);
254
- const ThreadProperties = {
255
- ...CollectionProperties,
564
+ const FindActionProperties = {
565
+ ...ActionProperties,
256
566
  };
257
- export const ThreadSchema = z
567
+ export const FindActionSchema = z
258
568
  .object({
259
- '@type': z.literal('Thread'),
260
- ...ThreadProperties,
569
+ '@type': z.literal('FindAction'),
570
+ ...FindActionProperties,
261
571
  })
262
572
  .superRefine(requireNodeIdentity);
263
- const UpdateActionProperties = {
264
- ...ActionProperties,
573
+ const FollowActionProperties = {
574
+ ...InteractActionProperties,
265
575
  };
266
- export const UpdateActionSchema = z
576
+ export const FollowActionSchema = z
267
577
  .object({
268
- '@type': z.literal('UpdateAction'),
269
- ...UpdateActionProperties,
578
+ '@type': z.literal('FollowAction'),
579
+ ...FollowActionProperties,
270
580
  })
271
581
  .superRefine(requireNodeIdentity);
272
- const VideoObjectProperties = {
582
+ const ImageObjectProperties = {
273
583
  ...MediaObjectProperties,
584
+ caption: z.lazy(() => z.string()).optional(),
585
+ height: z.lazy(() => z.number()).optional(),
586
+ width: z.lazy(() => z.number()).optional(),
274
587
  };
275
- export const VideoObjectSchema = z
588
+ export const ImageObjectSchema = z
276
589
  .object({
277
- '@type': z.literal('VideoObject'),
278
- ...VideoObjectProperties,
590
+ '@type': z.literal('ImageObject'),
591
+ ...ImageObjectProperties,
592
+ })
593
+ .superRefine(requireNodeIdentity);
594
+ const JoinActionProperties = {
595
+ ...ExperienceActionProperties,
596
+ };
597
+ export const JoinActionSchema = z
598
+ .object({
599
+ '@type': z.literal('JoinAction'),
600
+ ...JoinActionProperties,
601
+ })
602
+ .superRefine(requireNodeIdentity);
603
+ const JourneyProperties = {
604
+ ...EntityProperties,
605
+ distance: z.lazy(() => z.number()).optional(),
606
+ path: z.lazy(() => z.string()).optional(),
607
+ travelMode: z.lazy(() => z.string()).optional(),
608
+ };
609
+ export const JourneySchema = z
610
+ .object({
611
+ '@type': z.literal('Journey'),
612
+ ...JourneyProperties,
613
+ })
614
+ .superRefine(requireNodeIdentity);
615
+ const LeaveActionProperties = {
616
+ ...ExperienceActionProperties,
617
+ };
618
+ export const LeaveActionSchema = z
619
+ .object({
620
+ '@type': z.literal('LeaveAction'),
621
+ ...LeaveActionProperties,
622
+ })
623
+ .superRefine(requireNodeIdentity);
624
+ const ReactActionProperties = {
625
+ ...AssessActionProperties,
626
+ };
627
+ export const ReactActionSchema = z
628
+ .object({
629
+ '@type': z.literal('ReactAction'),
630
+ ...ReactActionProperties,
631
+ })
632
+ .superRefine(requireNodeIdentity);
633
+ const LikeActionProperties = {
634
+ ...ReactActionProperties,
635
+ };
636
+ export const LikeActionSchema = z
637
+ .object({
638
+ '@type': z.literal('LikeAction'),
639
+ ...LikeActionProperties,
640
+ })
641
+ .superRefine(requireNodeIdentity);
642
+ const ListenActionProperties = {
643
+ ...ConsumeActionProperties,
644
+ };
645
+ export const ListenActionSchema = z
646
+ .object({
647
+ '@type': z.literal('ListenAction'),
648
+ ...ListenActionProperties,
649
+ })
650
+ .superRefine(requireNodeIdentity);
651
+ const StructuredValueProperties = {};
652
+ export const StructuredValueSchema = z.object({
653
+ '@type': z.literal('StructuredValue'),
654
+ ...StructuredValueProperties,
655
+ });
656
+ const LocationProperties = {
657
+ ...StructuredValueProperties,
658
+ address: z.lazy(() => z.string()).optional(),
659
+ latitude: z.lazy(() => z.number()).optional(),
660
+ longitude: z.lazy(() => z.number()).optional(),
661
+ };
662
+ export const LocationSchema = z.object({
663
+ '@type': z.literal('Location'),
664
+ ...LocationProperties,
665
+ });
666
+ const MealProperties = {
667
+ ...EntityProperties,
668
+ };
669
+ export const MealSchema = z
670
+ .object({
671
+ '@type': z.literal('Meal'),
672
+ ...MealProperties,
673
+ })
674
+ .superRefine(requireNodeIdentity);
675
+ const MembershipProperties = {
676
+ ...SessionProperties,
677
+ role: z.lazy(() => z.string()).optional(),
678
+ };
679
+ export const MembershipSchema = z
680
+ .object({
681
+ '@type': z.literal('Membership'),
682
+ ...MembershipProperties,
683
+ })
684
+ .superRefine(requireNodeIdentity);
685
+ const MessageProperties = {
686
+ ...CreativeWorkProperties,
687
+ author: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
688
+ inReplyTo: z.lazy(() => z.array(MessageAndChildrenSchema)).optional(),
689
+ recipient: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
690
+ };
691
+ export const MessageSchema = z
692
+ .object({
693
+ '@type': z.literal('Message'),
694
+ ...MessageProperties,
695
+ })
696
+ .superRefine(requireNodeIdentity);
697
+ const MessageActionProperties = {
698
+ ...ActionProperties,
699
+ };
700
+ export const MessageActionSchema = z
701
+ .object({
702
+ '@type': z.literal('MessageAction'),
703
+ ...MessageActionProperties,
704
+ })
705
+ .superRefine(requireNodeIdentity);
706
+ const MoveActionProperties = {
707
+ ...ActionProperties,
708
+ };
709
+ export const MoveActionSchema = z
710
+ .object({
711
+ '@type': z.literal('MoveAction'),
712
+ ...MoveActionProperties,
713
+ })
714
+ .superRefine(requireNodeIdentity);
715
+ const MusicAlbumProperties = {
716
+ ...CreativeWorkProperties,
717
+ artist: z.lazy(() => z.array(MusicGroupAndChildrenSchema)).optional(),
718
+ };
719
+ export const MusicAlbumSchema = z
720
+ .object({
721
+ '@type': z.literal('MusicAlbum'),
722
+ ...MusicAlbumProperties,
723
+ })
724
+ .superRefine(requireNodeIdentity);
725
+ const OrganizationProperties = {
726
+ ...AgentProperties,
727
+ member: z
728
+ .lazy(() => z.array(z.union([AgentAndChildrenSchema, PersonAndChildrenSchema])))
729
+ .optional(),
730
+ };
731
+ export const OrganizationSchema = z
732
+ .object({
733
+ '@type': z.literal('Organization'),
734
+ ...OrganizationProperties,
735
+ })
736
+ .superRefine(requireNodeIdentity);
737
+ const PerformingGroupProperties = {
738
+ ...OrganizationProperties,
739
+ };
740
+ export const PerformingGroupSchema = z
741
+ .object({
742
+ '@type': z.literal('PerformingGroup'),
743
+ ...PerformingGroupProperties,
744
+ })
745
+ .superRefine(requireNodeIdentity);
746
+ const MusicGroupProperties = {
747
+ ...PerformingGroupProperties,
748
+ };
749
+ export const MusicGroupSchema = z
750
+ .object({
751
+ '@type': z.literal('MusicGroup'),
752
+ ...MusicGroupProperties,
753
+ })
754
+ .superRefine(requireNodeIdentity);
755
+ const MusicRecordingProperties = {
756
+ ...CreativeWorkProperties,
757
+ artist: z.lazy(() => z.array(MusicGroupAndChildrenSchema)).optional(),
758
+ duration: z.lazy(() => z.string()).optional(),
759
+ inAlbum: z.lazy(() => MusicAlbumAndChildrenSchema).optional(),
760
+ };
761
+ export const MusicRecordingSchema = z
762
+ .object({
763
+ '@type': z.literal('MusicRecording'),
764
+ ...MusicRecordingProperties,
765
+ })
766
+ .superRefine(requireNodeIdentity);
767
+ const NavigateActionProperties = {
768
+ ...MoveActionProperties,
769
+ };
770
+ export const NavigateActionSchema = z
771
+ .object({
772
+ '@type': z.literal('NavigateAction'),
773
+ ...NavigateActionProperties,
774
+ })
775
+ .superRefine(requireNodeIdentity);
776
+ const OperatingSystemProperties = {
777
+ ...SoftwareProperties,
778
+ };
779
+ export const OperatingSystemSchema = z
780
+ .object({
781
+ '@type': z.literal('OperatingSystem'),
782
+ ...OperatingSystemProperties,
783
+ })
784
+ .superRefine(requireNodeIdentity);
785
+ const PageSelectorProperties = {
786
+ ...SelectorProperties,
787
+ };
788
+ export const PageSelectorSchema = z
789
+ .object({
790
+ '@type': z.literal('PageSelector'),
791
+ ...PageSelectorProperties,
792
+ })
793
+ .superRefine(requireNodeIdentity);
794
+ const PersonProperties = {
795
+ ...AgentProperties,
796
+ };
797
+ export const PersonSchema = z
798
+ .object({
799
+ '@type': z.literal('Person'),
800
+ ...PersonProperties,
801
+ })
802
+ .superRefine(requireNodeIdentity);
803
+ const PhotographActionProperties = {
804
+ ...CreateActionProperties,
805
+ };
806
+ export const PhotographActionSchema = z
807
+ .object({
808
+ '@type': z.literal('PhotographAction'),
809
+ ...PhotographActionProperties,
810
+ })
811
+ .superRefine(requireNodeIdentity);
812
+ const PlaceProperties = {
813
+ ...EntityProperties,
814
+ };
815
+ export const PlaceSchema = z
816
+ .object({
817
+ '@type': z.literal('Place'),
818
+ ...PlaceProperties,
819
+ })
820
+ .superRefine(requireNodeIdentity);
821
+ const PlanActionProperties = {
822
+ ...ActionProperties,
823
+ };
824
+ export const PlanActionSchema = z
825
+ .object({
826
+ '@type': z.literal('PlanAction'),
827
+ ...PlanActionProperties,
828
+ })
829
+ .superRefine(requireNodeIdentity);
830
+ const PodcastEpisodeProperties = {
831
+ ...CreativeWorkProperties,
832
+ duration: z.lazy(() => z.string()).optional(),
833
+ transcript: z.lazy(() => z.string()).optional(),
834
+ };
835
+ export const PodcastEpisodeSchema = z
836
+ .object({
837
+ '@type': z.literal('PodcastEpisode'),
838
+ ...PodcastEpisodeProperties,
839
+ })
840
+ .superRefine(requireNodeIdentity);
841
+ const PostProperties = {
842
+ ...CreativeWorkProperties,
843
+ };
844
+ export const PostSchema = z
845
+ .object({
846
+ '@type': z.literal('Post'),
847
+ ...PostProperties,
848
+ })
849
+ .superRefine(requireNodeIdentity);
850
+ const ProductModelProperties = {
851
+ ...EntityProperties,
852
+ };
853
+ export const ProductModelSchema = z
854
+ .object({
855
+ '@type': z.literal('ProductModel'),
856
+ ...ProductModelProperties,
857
+ })
858
+ .superRefine(requireNodeIdentity);
859
+ const ProjectProperties = {
860
+ ...CollectionProperties,
861
+ };
862
+ export const ProjectSchema = z
863
+ .object({
864
+ '@type': z.literal('Project'),
865
+ ...ProjectProperties,
866
+ })
867
+ .superRefine(requireNodeIdentity);
868
+ const PublishActionProperties = {
869
+ ...CreateActionProperties,
870
+ };
871
+ export const PublishActionSchema = z
872
+ .object({
873
+ '@type': z.literal('PublishAction'),
874
+ ...PublishActionProperties,
875
+ })
876
+ .superRefine(requireNodeIdentity);
877
+ const QueryProperties = {
878
+ ...CreativeWorkProperties,
879
+ };
880
+ export const QuerySchema = z
881
+ .object({
882
+ '@type': z.literal('Query'),
883
+ ...QueryProperties,
884
+ })
885
+ .superRefine(requireNodeIdentity);
886
+ const QuotationProperties = {
887
+ ...CreativeWorkProperties,
888
+ annotationStyle: z.lazy(() => z.string()).optional(),
889
+ color: z.lazy(() => z.string()).optional(),
890
+ selector: z.lazy(() => z.array(SelectorAndChildrenSchema)).optional(),
891
+ };
892
+ export const QuotationSchema = z
893
+ .object({
894
+ '@type': z.literal('Quotation'),
895
+ ...QuotationProperties,
896
+ })
897
+ .superRefine(requireNodeIdentity);
898
+ const QuoteActionProperties = {
899
+ ...CreateActionProperties,
900
+ };
901
+ export const QuoteActionSchema = z
902
+ .object({
903
+ '@type': z.literal('QuoteAction'),
904
+ ...QuoteActionProperties,
905
+ })
906
+ .superRefine(requireNodeIdentity);
907
+ const ReadActionProperties = {
908
+ ...ConsumeActionProperties,
909
+ };
910
+ export const ReadActionSchema = z
911
+ .object({
912
+ '@type': z.literal('ReadAction'),
913
+ ...ReadActionProperties,
914
+ })
915
+ .superRefine(requireNodeIdentity);
916
+ const RealmProperties = {
917
+ ...EntityProperties,
918
+ };
919
+ export const RealmSchema = z
920
+ .object({
921
+ '@type': z.literal('Realm'),
922
+ ...RealmProperties,
923
+ })
924
+ .superRefine(requireNodeIdentity);
925
+ const RecordActionProperties = {
926
+ ...CreateActionProperties,
927
+ };
928
+ export const RecordActionSchema = z
929
+ .object({
930
+ '@type': z.literal('RecordAction'),
931
+ ...RecordActionProperties,
932
+ })
933
+ .superRefine(requireNodeIdentity);
934
+ const RejectActionProperties = {
935
+ ...ActionProperties,
936
+ };
937
+ export const RejectActionSchema = z
938
+ .object({
939
+ '@type': z.literal('RejectAction'),
940
+ ...RejectActionProperties,
941
+ })
942
+ .superRefine(requireNodeIdentity);
943
+ const RelationshipProperties = {
944
+ ...SessionProperties,
945
+ role: z.lazy(() => z.string()).optional(),
946
+ };
947
+ export const RelationshipSchema = z
948
+ .object({
949
+ '@type': z.literal('Relationship'),
950
+ ...RelationshipProperties,
951
+ })
952
+ .superRefine(requireNodeIdentity);
953
+ const RepositoryProperties = {
954
+ ...CreativeWorkProperties,
955
+ };
956
+ export const RepositorySchema = z
957
+ .object({
958
+ '@type': z.literal('Repository'),
959
+ ...RepositoryProperties,
960
+ })
961
+ .superRefine(requireNodeIdentity);
962
+ const RespondActionProperties = {
963
+ ...AssessActionProperties,
964
+ };
965
+ export const RespondActionSchema = z
966
+ .object({
967
+ '@type': z.literal('RespondAction'),
968
+ ...RespondActionProperties,
969
+ })
970
+ .superRefine(requireNodeIdentity);
971
+ const RevisionProperties = {
972
+ ...CreativeWorkProperties,
973
+ };
974
+ export const RevisionSchema = z
975
+ .object({
976
+ '@type': z.literal('Revision'),
977
+ ...RevisionProperties,
978
+ })
979
+ .superRefine(requireNodeIdentity);
980
+ const SoftwareAgentProperties = {
981
+ ...AgentProperties,
982
+ };
983
+ export const SoftwareAgentSchema = z
984
+ .object({
985
+ '@type': z.literal('SoftwareAgent'),
986
+ ...SoftwareAgentProperties,
987
+ })
988
+ .superRefine(requireNodeIdentity);
989
+ const SoftwareApplicationProperties = {
990
+ ...SoftwareProperties,
991
+ };
992
+ export const SoftwareApplicationSchema = z
993
+ .object({
994
+ '@type': z.literal('SoftwareApplication'),
995
+ ...SoftwareApplicationProperties,
996
+ })
997
+ .superRefine(requireNodeIdentity);
998
+ const SoftwareSourceCodeProperties = {
999
+ ...CreativeWorkProperties,
1000
+ };
1001
+ export const SoftwareSourceCodeSchema = z
1002
+ .object({
1003
+ '@type': z.literal('SoftwareSourceCode'),
1004
+ ...SoftwareSourceCodeProperties,
1005
+ })
1006
+ .superRefine(requireNodeIdentity);
1007
+ const TagProperties = {
1008
+ ...EntityProperties,
1009
+ color: z.lazy(() => z.string()).optional(),
1010
+ };
1011
+ export const TagSchema = z
1012
+ .object({
1013
+ '@type': z.literal('Tag'),
1014
+ ...TagProperties,
1015
+ })
1016
+ .superRefine(requireNodeIdentity);
1017
+ const TaskProperties = {
1018
+ ...EntityProperties,
1019
+ };
1020
+ export const TaskSchema = z
1021
+ .object({
1022
+ '@type': z.literal('Task'),
1023
+ ...TaskProperties,
1024
+ })
1025
+ .superRefine(requireNodeIdentity);
1026
+ const TenureProperties = {
1027
+ ...SessionProperties,
1028
+ role: z.lazy(() => z.string()).optional(),
1029
+ };
1030
+ export const TenureSchema = z
1031
+ .object({
1032
+ '@type': z.literal('Tenure'),
1033
+ ...TenureProperties,
1034
+ })
1035
+ .superRefine(requireNodeIdentity);
1036
+ const ThreadProperties = {
1037
+ ...CollectionProperties,
1038
+ };
1039
+ export const ThreadSchema = z
1040
+ .object({
1041
+ '@type': z.literal('Thread'),
1042
+ ...ThreadProperties,
279
1043
  })
280
1044
  .superRefine(requireNodeIdentity);
281
- export const VideoObjectAndChildrenSchema = VideoObjectSchema;
282
- export const UpdateActionAndChildrenSchema = UpdateActionSchema;
283
- export const ThreadAndChildrenSchema = ThreadSchema;
284
- export const TaskAndChildrenSchema = TaskSchema;
285
- export const TagAndChildrenSchema = TagSchema;
286
- export const SoftwareApplicationAndChildrenSchema = SoftwareApplicationSchema;
287
- export const SoftwareAgentAndChildrenSchema = SoftwareAgentSchema;
288
- export const RealmAndChildrenSchema = RealmSchema;
289
- export const ProjectAndChildrenSchema = ProjectSchema;
290
- export const PlanActionAndChildrenSchema = PlanActionSchema;
291
- export const PersonAndChildrenSchema = PersonSchema;
292
- export const MessageActionAndChildrenSchema = MessageActionSchema;
293
- export const MessageAndChildrenSchema = MessageSchema;
294
- export const ImageObjectAndChildrenSchema = ImageObjectSchema;
295
- export const ExecuteActionAndChildrenSchema = ExecuteActionSchema;
296
- export const DocumentObjectAndChildrenSchema = DocumentObjectSchema;
297
- export const DeleteActionAndChildrenSchema = DeleteActionSchema;
298
- export const CompleteActionAndChildrenSchema = CompleteActionSchema;
299
- export const CommandAndChildrenSchema = CommandSchema;
300
- export const CollectionAndChildrenSchema = z
1045
+ const TravelActionProperties = {
1046
+ ...ActionProperties,
1047
+ };
1048
+ export const TravelActionSchema = z
1049
+ .object({
1050
+ '@type': z.literal('TravelAction'),
1051
+ ...TravelActionProperties,
1052
+ })
1053
+ .superRefine(requireNodeIdentity);
1054
+ const VenueProperties = {
1055
+ ...PlaceProperties,
1056
+ };
1057
+ export const VenueSchema = z
1058
+ .object({
1059
+ '@type': z.literal('Venue'),
1060
+ ...VenueProperties,
1061
+ })
1062
+ .superRefine(requireNodeIdentity);
1063
+ const VideoObjectProperties = {
1064
+ ...MediaObjectProperties,
1065
+ duration: z.lazy(() => z.string()).optional(),
1066
+ height: z.lazy(() => z.number()).optional(),
1067
+ transcript: z.lazy(() => z.string()).optional(),
1068
+ width: z.lazy(() => z.number()).optional(),
1069
+ };
1070
+ export const VideoObjectSchema = z
1071
+ .object({
1072
+ '@type': z.literal('VideoObject'),
1073
+ ...VideoObjectProperties,
1074
+ })
1075
+ .superRefine(requireNodeIdentity);
1076
+ const ViewActionProperties = {
1077
+ ...ConsumeActionProperties,
1078
+ };
1079
+ export const ViewActionSchema = z
1080
+ .object({
1081
+ '@type': z.literal('ViewAction'),
1082
+ ...ViewActionProperties,
1083
+ })
1084
+ .superRefine(requireNodeIdentity);
1085
+ const VisitActionProperties = {
1086
+ ...ActionProperties,
1087
+ };
1088
+ export const VisitActionSchema = z
1089
+ .object({
1090
+ '@type': z.literal('VisitAction'),
1091
+ ...VisitActionProperties,
1092
+ })
1093
+ .superRefine(requireNodeIdentity);
1094
+ const WatchActionProperties = {
1095
+ ...ConsumeActionProperties,
1096
+ };
1097
+ export const WatchActionSchema = z
1098
+ .object({
1099
+ '@type': z.literal('WatchAction'),
1100
+ ...WatchActionProperties,
1101
+ })
1102
+ .superRefine(requireNodeIdentity);
1103
+ export const WatchActionAndChildrenSchema = WatchActionSchema;
1104
+ export const VisitActionAndChildrenSchema = VisitActionSchema;
1105
+ export const ViewActionAndChildrenSchema = ViewActionSchema;
1106
+ export const VideoObjectAndChildrenSchema = VideoObjectSchema;
1107
+ export const VenueAndChildrenSchema = VenueSchema;
1108
+ export const TravelActionAndChildrenSchema = TravelActionSchema;
1109
+ export const ThreadAndChildrenSchema = ThreadSchema;
1110
+ export const TenureAndChildrenSchema = TenureSchema;
1111
+ export const TaskAndChildrenSchema = TaskSchema;
1112
+ export const TagAndChildrenSchema = TagSchema;
1113
+ export const SoftwareSourceCodeAndChildrenSchema = SoftwareSourceCodeSchema;
1114
+ export const SoftwareApplicationAndChildrenSchema = SoftwareApplicationSchema;
1115
+ export const SoftwareAgentAndChildrenSchema = SoftwareAgentSchema;
1116
+ export const RevisionAndChildrenSchema = RevisionSchema;
1117
+ export const RespondActionAndChildrenSchema = RespondActionSchema;
1118
+ export const RepositoryAndChildrenSchema = RepositorySchema;
1119
+ export const RelationshipAndChildrenSchema = RelationshipSchema;
1120
+ export const RejectActionAndChildrenSchema = RejectActionSchema;
1121
+ export const RecordActionAndChildrenSchema = RecordActionSchema;
1122
+ export const RealmAndChildrenSchema = RealmSchema;
1123
+ export const ReadActionAndChildrenSchema = ReadActionSchema;
1124
+ export const QuoteActionAndChildrenSchema = QuoteActionSchema;
1125
+ export const QuotationAndChildrenSchema = QuotationSchema;
1126
+ export const QueryAndChildrenSchema = QuerySchema;
1127
+ export const PublishActionAndChildrenSchema = PublishActionSchema;
1128
+ export const ProjectAndChildrenSchema = ProjectSchema;
1129
+ export const ProductModelAndChildrenSchema = ProductModelSchema;
1130
+ export const PostAndChildrenSchema = PostSchema;
1131
+ export const PodcastEpisodeAndChildrenSchema = PodcastEpisodeSchema;
1132
+ export const PlanActionAndChildrenSchema = PlanActionSchema;
1133
+ export const PlaceAndChildrenSchema = z
1134
+ .discriminatedUnion('@type', [
1135
+ z.object({
1136
+ '@type': z.literal('Place'),
1137
+ ...PlaceProperties,
1138
+ }),
1139
+ z.object({
1140
+ '@type': z.literal('Venue'),
1141
+ ...VenueProperties,
1142
+ }),
1143
+ ])
1144
+ .superRefine(requireNodeIdentity);
1145
+ export const PhotographActionAndChildrenSchema = PhotographActionSchema;
1146
+ export const PersonAndChildrenSchema = PersonSchema;
1147
+ export const PageSelectorAndChildrenSchema = PageSelectorSchema;
1148
+ export const OperatingSystemAndChildrenSchema = OperatingSystemSchema;
1149
+ export const NavigateActionAndChildrenSchema = NavigateActionSchema;
1150
+ export const MusicRecordingAndChildrenSchema = MusicRecordingSchema;
1151
+ export const MusicGroupAndChildrenSchema = MusicGroupSchema;
1152
+ export const PerformingGroupAndChildrenSchema = z
1153
+ .discriminatedUnion('@type', [
1154
+ z.object({
1155
+ '@type': z.literal('PerformingGroup'),
1156
+ ...PerformingGroupProperties,
1157
+ }),
1158
+ z.object({
1159
+ '@type': z.literal('MusicGroup'),
1160
+ ...MusicGroupProperties,
1161
+ }),
1162
+ ])
1163
+ .superRefine(requireNodeIdentity);
1164
+ export const OrganizationAndChildrenSchema = z
1165
+ .discriminatedUnion('@type', [
1166
+ z.object({
1167
+ '@type': z.literal('Organization'),
1168
+ ...OrganizationProperties,
1169
+ }),
1170
+ z.object({
1171
+ '@type': z.literal('PerformingGroup'),
1172
+ ...PerformingGroupProperties,
1173
+ }),
1174
+ z.object({
1175
+ '@type': z.literal('MusicGroup'),
1176
+ ...MusicGroupProperties,
1177
+ }),
1178
+ ])
1179
+ .superRefine(requireNodeIdentity);
1180
+ export const MusicAlbumAndChildrenSchema = MusicAlbumSchema;
1181
+ export const MoveActionAndChildrenSchema = z
1182
+ .discriminatedUnion('@type', [
1183
+ z.object({
1184
+ '@type': z.literal('MoveAction'),
1185
+ ...MoveActionProperties,
1186
+ }),
1187
+ z.object({
1188
+ '@type': z.literal('NavigateAction'),
1189
+ ...NavigateActionProperties,
1190
+ }),
1191
+ ])
1192
+ .superRefine(requireNodeIdentity);
1193
+ export const MessageActionAndChildrenSchema = MessageActionSchema;
1194
+ export const MessageAndChildrenSchema = MessageSchema;
1195
+ export const MembershipAndChildrenSchema = MembershipSchema;
1196
+ export const MealAndChildrenSchema = MealSchema;
1197
+ export const LocationAndChildrenSchema = LocationSchema;
1198
+ export const StructuredValueAndChildrenSchema = z.discriminatedUnion('@type', [
1199
+ z.object({
1200
+ '@type': z.literal('StructuredValue'),
1201
+ ...StructuredValueProperties,
1202
+ }),
1203
+ z.object({
1204
+ '@type': z.literal('Location'),
1205
+ ...LocationProperties,
1206
+ }),
1207
+ ]);
1208
+ export const ListenActionAndChildrenSchema = ListenActionSchema;
1209
+ export const LikeActionAndChildrenSchema = LikeActionSchema;
1210
+ export const ReactActionAndChildrenSchema = z
1211
+ .discriminatedUnion('@type', [
1212
+ z.object({
1213
+ '@type': z.literal('ReactAction'),
1214
+ ...ReactActionProperties,
1215
+ }),
1216
+ z.object({
1217
+ '@type': z.literal('LikeAction'),
1218
+ ...LikeActionProperties,
1219
+ }),
1220
+ ])
1221
+ .superRefine(requireNodeIdentity);
1222
+ export const LeaveActionAndChildrenSchema = LeaveActionSchema;
1223
+ export const JourneyAndChildrenSchema = JourneySchema;
1224
+ export const JoinActionAndChildrenSchema = JoinActionSchema;
1225
+ export const ImageObjectAndChildrenSchema = ImageObjectSchema;
1226
+ export const FollowActionAndChildrenSchema = FollowActionSchema;
1227
+ export const FindActionAndChildrenSchema = FindActionSchema;
1228
+ export const ExperienceActionAndChildrenSchema = z
1229
+ .discriminatedUnion('@type', [
1230
+ z.object({
1231
+ '@type': z.literal('ExperienceAction'),
1232
+ ...ExperienceActionProperties,
1233
+ }),
1234
+ z.object({
1235
+ '@type': z.literal('LeaveAction'),
1236
+ ...LeaveActionProperties,
1237
+ }),
1238
+ z.object({
1239
+ '@type': z.literal('JoinAction'),
1240
+ ...JoinActionProperties,
1241
+ }),
1242
+ ])
1243
+ .superRefine(requireNodeIdentity);
1244
+ export const ExecuteActionAndChildrenSchema = ExecuteActionSchema;
1245
+ export const EventAndChildrenSchema = EventSchema;
1246
+ export const EpubCfiSelectorAndChildrenSchema = EpubCfiSelectorSchema;
1247
+ export const SelectorAndChildrenSchema = z
1248
+ .discriminatedUnion('@type', [
1249
+ z.object({
1250
+ '@type': z.literal('Selector'),
1251
+ ...SelectorProperties,
1252
+ }),
1253
+ z.object({
1254
+ '@type': z.literal('PageSelector'),
1255
+ ...PageSelectorProperties,
1256
+ }),
1257
+ z.object({
1258
+ '@type': z.literal('EpubCfiSelector'),
1259
+ ...EpubCfiSelectorProperties,
1260
+ }),
1261
+ ])
1262
+ .superRefine(requireNodeIdentity);
1263
+ export const EnrollmentAndChildrenSchema = EnrollmentSchema;
1264
+ export const EatActionAndChildrenSchema = EatActionSchema;
1265
+ export const DrinkActionAndChildrenSchema = DrinkActionSchema;
1266
+ export const DocumentObjectAndChildrenSchema = DocumentObjectSchema;
1267
+ export const DirectoryAndChildrenSchema = DirectorySchema;
1268
+ export const DeviceSessionAndChildrenSchema = DeviceSessionSchema;
1269
+ export const DeviceAndChildrenSchema = DeviceSchema;
1270
+ export const PhysicalObjectAndChildrenSchema = z
1271
+ .discriminatedUnion('@type', [
1272
+ z.object({
1273
+ '@type': z.literal('PhysicalObject'),
1274
+ ...PhysicalObjectProperties,
1275
+ }),
1276
+ z.object({
1277
+ '@type': z.literal('Device'),
1278
+ ...DeviceProperties,
1279
+ }),
1280
+ ])
1281
+ .superRefine(requireNodeIdentity);
1282
+ export const DeleteActionAndChildrenSchema = DeleteActionSchema;
1283
+ export const ConsumeActionAndChildrenSchema = z
1284
+ .discriminatedUnion('@type', [
1285
+ z.object({
1286
+ '@type': z.literal('ConsumeAction'),
1287
+ ...ConsumeActionProperties,
1288
+ }),
1289
+ z.object({
1290
+ '@type': z.literal('WatchAction'),
1291
+ ...WatchActionProperties,
1292
+ }),
1293
+ z.object({
1294
+ '@type': z.literal('ViewAction'),
1295
+ ...ViewActionProperties,
1296
+ }),
1297
+ z.object({
1298
+ '@type': z.literal('ReadAction'),
1299
+ ...ReadActionProperties,
1300
+ }),
1301
+ z.object({
1302
+ '@type': z.literal('ListenAction'),
1303
+ ...ListenActionProperties,
1304
+ }),
1305
+ z.object({
1306
+ '@type': z.literal('EatAction'),
1307
+ ...EatActionProperties,
1308
+ }),
1309
+ z.object({
1310
+ '@type': z.literal('DrinkAction'),
1311
+ ...DrinkActionProperties,
1312
+ }),
1313
+ ])
1314
+ .superRefine(requireNodeIdentity);
1315
+ export const CompleteActionAndChildrenSchema = CompleteActionSchema;
1316
+ export const CommentAndChildrenSchema = CommentSchema;
1317
+ export const ResponseAndChildrenSchema = z
1318
+ .discriminatedUnion('@type', [
1319
+ z.object({
1320
+ '@type': z.literal('Response'),
1321
+ ...ResponseProperties,
1322
+ }),
1323
+ z.object({
1324
+ '@type': z.literal('Comment'),
1325
+ ...CommentProperties,
1326
+ }),
1327
+ ])
1328
+ .superRefine(requireNodeIdentity);
1329
+ export const CommandAndChildrenSchema = CommandSchema;
1330
+ export const CheckInActionAndChildrenSchema = CheckInActionSchema;
1331
+ export const ChannelAndChildrenSchema = ChannelSchema;
1332
+ export const ChangesetAndChildrenSchema = ChangesetSchema;
1333
+ export const CategoryAndChildrenSchema = CategorySchema;
1334
+ export const DefinedTermAndChildrenSchema = z
1335
+ .discriminatedUnion('@type', [
1336
+ z.object({
1337
+ '@type': z.literal('DefinedTerm'),
1338
+ ...DefinedTermProperties,
1339
+ }),
1340
+ z.object({
1341
+ '@type': z.literal('Category'),
1342
+ ...CategoryProperties,
1343
+ }),
1344
+ ])
1345
+ .superRefine(requireNodeIdentity);
1346
+ export const IntangibleAndChildrenSchema = z
1347
+ .discriminatedUnion('@type', [
1348
+ z.object({
1349
+ '@type': z.literal('Intangible'),
1350
+ ...IntangibleProperties,
1351
+ }),
1352
+ z.object({
1353
+ '@type': z.literal('Selector'),
1354
+ ...SelectorProperties,
1355
+ }),
1356
+ z.object({
1357
+ '@type': z.literal('PageSelector'),
1358
+ ...PageSelectorProperties,
1359
+ }),
1360
+ z.object({
1361
+ '@type': z.literal('EpubCfiSelector'),
1362
+ ...EpubCfiSelectorProperties,
1363
+ }),
1364
+ z.object({
1365
+ '@type': z.literal('DefinedTerm'),
1366
+ ...DefinedTermProperties,
1367
+ }),
1368
+ z.object({
1369
+ '@type': z.literal('Category'),
1370
+ ...CategoryProperties,
1371
+ }),
1372
+ ])
1373
+ .superRefine(requireNodeIdentity);
1374
+ export const CancelActionAndChildrenSchema = CancelActionSchema;
1375
+ export const CallSessionAndChildrenSchema = CallSessionSchema;
1376
+ export const SessionAndChildrenSchema = z
1377
+ .discriminatedUnion('@type', [
1378
+ z.object({
1379
+ '@type': z.literal('Session'),
1380
+ ...SessionProperties,
1381
+ }),
1382
+ z.object({
1383
+ '@type': z.literal('Tenure'),
1384
+ ...TenureProperties,
1385
+ }),
1386
+ z.object({
1387
+ '@type': z.literal('Relationship'),
1388
+ ...RelationshipProperties,
1389
+ }),
1390
+ z.object({
1391
+ '@type': z.literal('Membership'),
1392
+ ...MembershipProperties,
1393
+ }),
1394
+ z.object({
1395
+ '@type': z.literal('Enrollment'),
1396
+ ...EnrollmentProperties,
1397
+ }),
1398
+ z.object({
1399
+ '@type': z.literal('DeviceSession'),
1400
+ ...DeviceSessionProperties,
1401
+ }),
1402
+ z.object({
1403
+ '@type': z.literal('CallSession'),
1404
+ ...CallSessionProperties,
1405
+ }),
1406
+ ])
1407
+ .superRefine(requireNodeIdentity);
1408
+ export const CallActionAndChildrenSchema = CallActionSchema;
1409
+ export const CommunicateActionAndChildrenSchema = z
1410
+ .discriminatedUnion('@type', [
1411
+ z.object({
1412
+ '@type': z.literal('CommunicateAction'),
1413
+ ...CommunicateActionProperties,
1414
+ }),
1415
+ z.object({
1416
+ '@type': z.literal('CheckInAction'),
1417
+ ...CheckInActionProperties,
1418
+ }),
1419
+ z.object({
1420
+ '@type': z.literal('CallAction'),
1421
+ ...CallActionProperties,
1422
+ }),
1423
+ ])
1424
+ .superRefine(requireNodeIdentity);
1425
+ export const InteractActionAndChildrenSchema = z
1426
+ .discriminatedUnion('@type', [
1427
+ z.object({
1428
+ '@type': z.literal('InteractAction'),
1429
+ ...InteractActionProperties,
1430
+ }),
1431
+ z.object({
1432
+ '@type': z.literal('FollowAction'),
1433
+ ...FollowActionProperties,
1434
+ }),
1435
+ z.object({
1436
+ '@type': z.literal('CommunicateAction'),
1437
+ ...CommunicateActionProperties,
1438
+ }),
1439
+ z.object({
1440
+ '@type': z.literal('CheckInAction'),
1441
+ ...CheckInActionProperties,
1442
+ }),
1443
+ z.object({
1444
+ '@type': z.literal('CallAction'),
1445
+ ...CallActionProperties,
1446
+ }),
1447
+ ])
1448
+ .superRefine(requireNodeIdentity);
1449
+ export const CalendarAndChildrenSchema = CalendarSchema;
1450
+ export const CollectionAndChildrenSchema = z
1451
+ .discriminatedUnion('@type', [
1452
+ z.object({
1453
+ '@type': z.literal('Collection'),
1454
+ ...CollectionProperties,
1455
+ }),
1456
+ z.object({
1457
+ '@type': z.literal('Thread'),
1458
+ ...ThreadProperties,
1459
+ }),
1460
+ z.object({
1461
+ '@type': z.literal('Project'),
1462
+ ...ProjectProperties,
1463
+ }),
1464
+ z.object({
1465
+ '@type': z.literal('Directory'),
1466
+ ...DirectoryProperties,
1467
+ }),
1468
+ z.object({
1469
+ '@type': z.literal('Calendar'),
1470
+ ...CalendarProperties,
1471
+ }),
1472
+ ])
1473
+ .superRefine(requireNodeIdentity);
1474
+ export const BookmarkActionAndChildrenSchema = BookmarkActionSchema;
1475
+ export const OrganizeActionAndChildrenSchema = z
1476
+ .discriminatedUnion('@type', [
1477
+ z.object({
1478
+ '@type': z.literal('OrganizeAction'),
1479
+ ...OrganizeActionProperties,
1480
+ }),
1481
+ z.object({
1482
+ '@type': z.literal('BookmarkAction'),
1483
+ ...BookmarkActionProperties,
1484
+ }),
1485
+ ])
1486
+ .superRefine(requireNodeIdentity);
1487
+ export const BookAndChildrenSchema = BookSchema;
1488
+ export const AudioObjectAndChildrenSchema = AudioObjectSchema;
1489
+ export const MediaObjectAndChildrenSchema = z
1490
+ .discriminatedUnion('@type', [
1491
+ z.object({
1492
+ '@type': z.literal('MediaObject'),
1493
+ ...MediaObjectProperties,
1494
+ }),
1495
+ z.object({
1496
+ '@type': z.literal('VideoObject'),
1497
+ ...VideoObjectProperties,
1498
+ }),
1499
+ z.object({
1500
+ '@type': z.literal('ImageObject'),
1501
+ ...ImageObjectProperties,
1502
+ }),
1503
+ z.object({
1504
+ '@type': z.literal('DocumentObject'),
1505
+ ...DocumentObjectProperties,
1506
+ }),
1507
+ z.object({
1508
+ '@type': z.literal('AudioObject'),
1509
+ ...AudioObjectProperties,
1510
+ }),
1511
+ ])
1512
+ .superRefine(requireNodeIdentity);
1513
+ export const AssessActionAndChildrenSchema = z
1514
+ .discriminatedUnion('@type', [
1515
+ z.object({
1516
+ '@type': z.literal('AssessAction'),
1517
+ ...AssessActionProperties,
1518
+ }),
1519
+ z.object({
1520
+ '@type': z.literal('RespondAction'),
1521
+ ...RespondActionProperties,
1522
+ }),
1523
+ z.object({
1524
+ '@type': z.literal('ReactAction'),
1525
+ ...ReactActionProperties,
1526
+ }),
1527
+ z.object({
1528
+ '@type': z.literal('LikeAction'),
1529
+ ...LikeActionProperties,
1530
+ }),
1531
+ ])
1532
+ .superRefine(requireNodeIdentity);
1533
+ export const ArticleAndChildrenSchema = ArticleSchema;
1534
+ export const AnnotateActionAndChildrenSchema = AnnotateActionSchema;
1535
+ export const CreateActionAndChildrenSchema = z
1536
+ .discriminatedUnion('@type', [
1537
+ z.object({
1538
+ '@type': z.literal('CreateAction'),
1539
+ ...CreateActionProperties,
1540
+ }),
1541
+ z.object({
1542
+ '@type': z.literal('RecordAction'),
1543
+ ...RecordActionProperties,
1544
+ }),
1545
+ z.object({
1546
+ '@type': z.literal('QuoteAction'),
1547
+ ...QuoteActionProperties,
1548
+ }),
1549
+ z.object({
1550
+ '@type': z.literal('PublishAction'),
1551
+ ...PublishActionProperties,
1552
+ }),
1553
+ z.object({
1554
+ '@type': z.literal('PhotographAction'),
1555
+ ...PhotographActionProperties,
1556
+ }),
1557
+ z.object({
1558
+ '@type': z.literal('AnnotateAction'),
1559
+ ...AnnotateActionProperties,
1560
+ }),
1561
+ ])
1562
+ .superRefine(requireNodeIdentity);
1563
+ export const AgentAndChildrenSchema = z
1564
+ .discriminatedUnion('@type', [
1565
+ z.object({
1566
+ '@type': z.literal('Agent'),
1567
+ ...AgentProperties,
1568
+ }),
1569
+ z.object({
1570
+ '@type': z.literal('SoftwareAgent'),
1571
+ ...SoftwareAgentProperties,
1572
+ }),
1573
+ z.object({
1574
+ '@type': z.literal('Person'),
1575
+ ...PersonProperties,
1576
+ }),
1577
+ z.object({
1578
+ '@type': z.literal('Organization'),
1579
+ ...OrganizationProperties,
1580
+ }),
1581
+ z.object({
1582
+ '@type': z.literal('PerformingGroup'),
1583
+ ...PerformingGroupProperties,
1584
+ }),
1585
+ z.object({
1586
+ '@type': z.literal('MusicGroup'),
1587
+ ...MusicGroupProperties,
1588
+ }),
1589
+ ])
1590
+ .superRefine(requireNodeIdentity);
1591
+ export const AddActionAndChildrenSchema = AddActionSchema;
1592
+ export const UpdateActionAndChildrenSchema = z
1593
+ .discriminatedUnion('@type', [
1594
+ z.object({
1595
+ '@type': z.literal('UpdateAction'),
1596
+ ...UpdateActionProperties,
1597
+ }),
1598
+ z.object({
1599
+ '@type': z.literal('AddAction'),
1600
+ ...AddActionProperties,
1601
+ }),
1602
+ ])
1603
+ .superRefine(requireNodeIdentity);
1604
+ export const AcceptActionAndChildrenSchema = AcceptActionSchema;
1605
+ export const ActionAndChildrenSchema = z
1606
+ .discriminatedUnion('@type', [
1607
+ z.object({
1608
+ '@type': z.literal('Action'),
1609
+ ...ActionProperties,
1610
+ }),
1611
+ z.object({
1612
+ '@type': z.literal('VisitAction'),
1613
+ ...VisitActionProperties,
1614
+ }),
1615
+ z.object({
1616
+ '@type': z.literal('TravelAction'),
1617
+ ...TravelActionProperties,
1618
+ }),
1619
+ z.object({
1620
+ '@type': z.literal('RejectAction'),
1621
+ ...RejectActionProperties,
1622
+ }),
1623
+ z.object({
1624
+ '@type': z.literal('PlanAction'),
1625
+ ...PlanActionProperties,
1626
+ }),
1627
+ z.object({
1628
+ '@type': z.literal('MoveAction'),
1629
+ ...MoveActionProperties,
1630
+ }),
1631
+ z.object({
1632
+ '@type': z.literal('NavigateAction'),
1633
+ ...NavigateActionProperties,
1634
+ }),
1635
+ z.object({
1636
+ '@type': z.literal('MessageAction'),
1637
+ ...MessageActionProperties,
1638
+ }),
1639
+ z.object({
1640
+ '@type': z.literal('FindAction'),
1641
+ ...FindActionProperties,
1642
+ }),
1643
+ z.object({
1644
+ '@type': z.literal('ExperienceAction'),
1645
+ ...ExperienceActionProperties,
1646
+ }),
1647
+ z.object({
1648
+ '@type': z.literal('LeaveAction'),
1649
+ ...LeaveActionProperties,
1650
+ }),
1651
+ z.object({
1652
+ '@type': z.literal('JoinAction'),
1653
+ ...JoinActionProperties,
1654
+ }),
1655
+ z.object({
1656
+ '@type': z.literal('ExecuteAction'),
1657
+ ...ExecuteActionProperties,
1658
+ }),
1659
+ z.object({
1660
+ '@type': z.literal('DeleteAction'),
1661
+ ...DeleteActionProperties,
1662
+ }),
1663
+ z.object({
1664
+ '@type': z.literal('ConsumeAction'),
1665
+ ...ConsumeActionProperties,
1666
+ }),
1667
+ z.object({
1668
+ '@type': z.literal('WatchAction'),
1669
+ ...WatchActionProperties,
1670
+ }),
1671
+ z.object({
1672
+ '@type': z.literal('ViewAction'),
1673
+ ...ViewActionProperties,
1674
+ }),
1675
+ z.object({
1676
+ '@type': z.literal('ReadAction'),
1677
+ ...ReadActionProperties,
1678
+ }),
1679
+ z.object({
1680
+ '@type': z.literal('ListenAction'),
1681
+ ...ListenActionProperties,
1682
+ }),
1683
+ z.object({
1684
+ '@type': z.literal('EatAction'),
1685
+ ...EatActionProperties,
1686
+ }),
1687
+ z.object({
1688
+ '@type': z.literal('DrinkAction'),
1689
+ ...DrinkActionProperties,
1690
+ }),
1691
+ z.object({
1692
+ '@type': z.literal('CompleteAction'),
1693
+ ...CompleteActionProperties,
1694
+ }),
1695
+ z.object({
1696
+ '@type': z.literal('CancelAction'),
1697
+ ...CancelActionProperties,
1698
+ }),
1699
+ z.object({
1700
+ '@type': z.literal('InteractAction'),
1701
+ ...InteractActionProperties,
1702
+ }),
1703
+ z.object({
1704
+ '@type': z.literal('FollowAction'),
1705
+ ...FollowActionProperties,
1706
+ }),
1707
+ z.object({
1708
+ '@type': z.literal('CommunicateAction'),
1709
+ ...CommunicateActionProperties,
1710
+ }),
1711
+ z.object({
1712
+ '@type': z.literal('CheckInAction'),
1713
+ ...CheckInActionProperties,
1714
+ }),
1715
+ z.object({
1716
+ '@type': z.literal('CallAction'),
1717
+ ...CallActionProperties,
1718
+ }),
1719
+ z.object({
1720
+ '@type': z.literal('OrganizeAction'),
1721
+ ...OrganizeActionProperties,
1722
+ }),
1723
+ z.object({
1724
+ '@type': z.literal('BookmarkAction'),
1725
+ ...BookmarkActionProperties,
1726
+ }),
1727
+ z.object({
1728
+ '@type': z.literal('AssessAction'),
1729
+ ...AssessActionProperties,
1730
+ }),
1731
+ z.object({
1732
+ '@type': z.literal('RespondAction'),
1733
+ ...RespondActionProperties,
1734
+ }),
1735
+ z.object({
1736
+ '@type': z.literal('ReactAction'),
1737
+ ...ReactActionProperties,
1738
+ }),
1739
+ z.object({
1740
+ '@type': z.literal('LikeAction'),
1741
+ ...LikeActionProperties,
1742
+ }),
1743
+ z.object({
1744
+ '@type': z.literal('CreateAction'),
1745
+ ...CreateActionProperties,
1746
+ }),
1747
+ z.object({
1748
+ '@type': z.literal('RecordAction'),
1749
+ ...RecordActionProperties,
1750
+ }),
1751
+ z.object({
1752
+ '@type': z.literal('QuoteAction'),
1753
+ ...QuoteActionProperties,
1754
+ }),
1755
+ z.object({
1756
+ '@type': z.literal('PublishAction'),
1757
+ ...PublishActionProperties,
1758
+ }),
1759
+ z.object({
1760
+ '@type': z.literal('PhotographAction'),
1761
+ ...PhotographActionProperties,
1762
+ }),
1763
+ z.object({
1764
+ '@type': z.literal('AnnotateAction'),
1765
+ ...AnnotateActionProperties,
1766
+ }),
1767
+ z.object({
1768
+ '@type': z.literal('UpdateAction'),
1769
+ ...UpdateActionProperties,
1770
+ }),
1771
+ z.object({
1772
+ '@type': z.literal('AddAction'),
1773
+ ...AddActionProperties,
1774
+ }),
1775
+ z.object({
1776
+ '@type': z.literal('AcceptAction'),
1777
+ ...AcceptActionProperties,
1778
+ }),
1779
+ ])
1780
+ .superRefine(requireNodeIdentity);
1781
+ export const AIModelAndChildrenSchema = AIModelSchema;
1782
+ export const SoftwareAndChildrenSchema = z
1783
+ .discriminatedUnion('@type', [
1784
+ z.object({
1785
+ '@type': z.literal('Software'),
1786
+ ...SoftwareProperties,
1787
+ }),
1788
+ z.object({
1789
+ '@type': z.literal('SoftwareApplication'),
1790
+ ...SoftwareApplicationProperties,
1791
+ }),
1792
+ z.object({
1793
+ '@type': z.literal('OperatingSystem'),
1794
+ ...OperatingSystemProperties,
1795
+ }),
1796
+ z.object({
1797
+ '@type': z.literal('AIModel'),
1798
+ ...AIModelProperties,
1799
+ }),
1800
+ ])
1801
+ .superRefine(requireNodeIdentity);
1802
+ export const CreativeWorkAndChildrenSchema = z
301
1803
  .discriminatedUnion('@type', [
1804
+ z.object({
1805
+ '@type': z.literal('CreativeWork'),
1806
+ ...CreativeWorkProperties,
1807
+ }),
1808
+ z.object({
1809
+ '@type': z.literal('SoftwareSourceCode'),
1810
+ ...SoftwareSourceCodeProperties,
1811
+ }),
1812
+ z.object({
1813
+ '@type': z.literal('Revision'),
1814
+ ...RevisionProperties,
1815
+ }),
1816
+ z.object({
1817
+ '@type': z.literal('Repository'),
1818
+ ...RepositoryProperties,
1819
+ }),
1820
+ z.object({
1821
+ '@type': z.literal('Quotation'),
1822
+ ...QuotationProperties,
1823
+ }),
1824
+ z.object({
1825
+ '@type': z.literal('Query'),
1826
+ ...QueryProperties,
1827
+ }),
1828
+ z.object({
1829
+ '@type': z.literal('Post'),
1830
+ ...PostProperties,
1831
+ }),
1832
+ z.object({
1833
+ '@type': z.literal('PodcastEpisode'),
1834
+ ...PodcastEpisodeProperties,
1835
+ }),
1836
+ z.object({
1837
+ '@type': z.literal('MusicRecording'),
1838
+ ...MusicRecordingProperties,
1839
+ }),
1840
+ z.object({
1841
+ '@type': z.literal('MusicAlbum'),
1842
+ ...MusicAlbumProperties,
1843
+ }),
1844
+ z.object({
1845
+ '@type': z.literal('Message'),
1846
+ ...MessageProperties,
1847
+ }),
1848
+ z.object({
1849
+ '@type': z.literal('Response'),
1850
+ ...ResponseProperties,
1851
+ }),
1852
+ z.object({
1853
+ '@type': z.literal('Comment'),
1854
+ ...CommentProperties,
1855
+ }),
1856
+ z.object({
1857
+ '@type': z.literal('Channel'),
1858
+ ...ChannelProperties,
1859
+ }),
1860
+ z.object({
1861
+ '@type': z.literal('Changeset'),
1862
+ ...ChangesetProperties,
1863
+ }),
302
1864
  z.object({
303
1865
  '@type': z.literal('Collection'),
304
1866
  ...CollectionProperties,
@@ -311,12 +1873,18 @@ export const CollectionAndChildrenSchema = z
311
1873
  '@type': z.literal('Project'),
312
1874
  ...ProjectProperties,
313
1875
  }),
314
- ])
315
- .superRefine(requireNodeIdentity);
316
- export const CancelActionAndChildrenSchema = CancelActionSchema;
317
- export const AudioObjectAndChildrenSchema = AudioObjectSchema;
318
- export const MediaObjectAndChildrenSchema = z
319
- .discriminatedUnion('@type', [
1876
+ z.object({
1877
+ '@type': z.literal('Directory'),
1878
+ ...DirectoryProperties,
1879
+ }),
1880
+ z.object({
1881
+ '@type': z.literal('Calendar'),
1882
+ ...CalendarProperties,
1883
+ }),
1884
+ z.object({
1885
+ '@type': z.literal('Book'),
1886
+ ...BookProperties,
1887
+ }),
320
1888
  z.object({
321
1889
  '@type': z.literal('MediaObject'),
322
1890
  ...MediaObjectProperties,
@@ -337,10 +1905,134 @@ export const MediaObjectAndChildrenSchema = z
337
1905
  '@type': z.literal('AudioObject'),
338
1906
  ...AudioObjectProperties,
339
1907
  }),
1908
+ z.object({
1909
+ '@type': z.literal('Article'),
1910
+ ...ArticleProperties,
1911
+ }),
1912
+ z.object({
1913
+ '@type': z.literal('Software'),
1914
+ ...SoftwareProperties,
1915
+ }),
1916
+ z.object({
1917
+ '@type': z.literal('SoftwareApplication'),
1918
+ ...SoftwareApplicationProperties,
1919
+ }),
1920
+ z.object({
1921
+ '@type': z.literal('OperatingSystem'),
1922
+ ...OperatingSystemProperties,
1923
+ }),
1924
+ z.object({
1925
+ '@type': z.literal('AIModel'),
1926
+ ...AIModelProperties,
1927
+ }),
340
1928
  ])
341
1929
  .superRefine(requireNodeIdentity);
342
- export const AgentAndChildrenSchema = z
1930
+ export const EntityAndChildrenSchema = z
343
1931
  .discriminatedUnion('@type', [
1932
+ z.object({
1933
+ '@type': z.literal('Entity'),
1934
+ ...EntityProperties,
1935
+ }),
1936
+ z.object({
1937
+ '@type': z.literal('Task'),
1938
+ ...TaskProperties,
1939
+ }),
1940
+ z.object({
1941
+ '@type': z.literal('Tag'),
1942
+ ...TagProperties,
1943
+ }),
1944
+ z.object({
1945
+ '@type': z.literal('Realm'),
1946
+ ...RealmProperties,
1947
+ }),
1948
+ z.object({
1949
+ '@type': z.literal('ProductModel'),
1950
+ ...ProductModelProperties,
1951
+ }),
1952
+ z.object({
1953
+ '@type': z.literal('Place'),
1954
+ ...PlaceProperties,
1955
+ }),
1956
+ z.object({
1957
+ '@type': z.literal('Venue'),
1958
+ ...VenueProperties,
1959
+ }),
1960
+ z.object({
1961
+ '@type': z.literal('Meal'),
1962
+ ...MealProperties,
1963
+ }),
1964
+ z.object({
1965
+ '@type': z.literal('Journey'),
1966
+ ...JourneyProperties,
1967
+ }),
1968
+ z.object({
1969
+ '@type': z.literal('Event'),
1970
+ ...EventProperties,
1971
+ }),
1972
+ z.object({
1973
+ '@type': z.literal('PhysicalObject'),
1974
+ ...PhysicalObjectProperties,
1975
+ }),
1976
+ z.object({
1977
+ '@type': z.literal('Device'),
1978
+ ...DeviceProperties,
1979
+ }),
1980
+ z.object({
1981
+ '@type': z.literal('Command'),
1982
+ ...CommandProperties,
1983
+ }),
1984
+ z.object({
1985
+ '@type': z.literal('Intangible'),
1986
+ ...IntangibleProperties,
1987
+ }),
1988
+ z.object({
1989
+ '@type': z.literal('Selector'),
1990
+ ...SelectorProperties,
1991
+ }),
1992
+ z.object({
1993
+ '@type': z.literal('PageSelector'),
1994
+ ...PageSelectorProperties,
1995
+ }),
1996
+ z.object({
1997
+ '@type': z.literal('EpubCfiSelector'),
1998
+ ...EpubCfiSelectorProperties,
1999
+ }),
2000
+ z.object({
2001
+ '@type': z.literal('DefinedTerm'),
2002
+ ...DefinedTermProperties,
2003
+ }),
2004
+ z.object({
2005
+ '@type': z.literal('Category'),
2006
+ ...CategoryProperties,
2007
+ }),
2008
+ z.object({
2009
+ '@type': z.literal('Session'),
2010
+ ...SessionProperties,
2011
+ }),
2012
+ z.object({
2013
+ '@type': z.literal('Tenure'),
2014
+ ...TenureProperties,
2015
+ }),
2016
+ z.object({
2017
+ '@type': z.literal('Relationship'),
2018
+ ...RelationshipProperties,
2019
+ }),
2020
+ z.object({
2021
+ '@type': z.literal('Membership'),
2022
+ ...MembershipProperties,
2023
+ }),
2024
+ z.object({
2025
+ '@type': z.literal('Enrollment'),
2026
+ ...EnrollmentProperties,
2027
+ }),
2028
+ z.object({
2029
+ '@type': z.literal('DeviceSession'),
2030
+ ...DeviceSessionProperties,
2031
+ }),
2032
+ z.object({
2033
+ '@type': z.literal('CallSession'),
2034
+ ...CallSessionProperties,
2035
+ }),
344
2036
  z.object({
345
2037
  '@type': z.literal('Agent'),
346
2038
  ...AgentProperties,
@@ -353,37 +2045,77 @@ export const AgentAndChildrenSchema = z
353
2045
  '@type': z.literal('Person'),
354
2046
  ...PersonProperties,
355
2047
  }),
356
- ])
357
- .superRefine(requireNodeIdentity);
358
- export const EntityAndChildrenSchema = z
359
- .discriminatedUnion('@type', [
360
2048
  z.object({
361
- '@type': z.literal('Entity'),
362
- ...EntityProperties,
2049
+ '@type': z.literal('Organization'),
2050
+ ...OrganizationProperties,
2051
+ }),
2052
+ z.object({
2053
+ '@type': z.literal('PerformingGroup'),
2054
+ ...PerformingGroupProperties,
2055
+ }),
2056
+ z.object({
2057
+ '@type': z.literal('MusicGroup'),
2058
+ ...MusicGroupProperties,
2059
+ }),
2060
+ z.object({
2061
+ '@type': z.literal('CreativeWork'),
2062
+ ...CreativeWorkProperties,
2063
+ }),
2064
+ z.object({
2065
+ '@type': z.literal('SoftwareSourceCode'),
2066
+ ...SoftwareSourceCodeProperties,
2067
+ }),
2068
+ z.object({
2069
+ '@type': z.literal('Revision'),
2070
+ ...RevisionProperties,
2071
+ }),
2072
+ z.object({
2073
+ '@type': z.literal('Repository'),
2074
+ ...RepositoryProperties,
2075
+ }),
2076
+ z.object({
2077
+ '@type': z.literal('Quotation'),
2078
+ ...QuotationProperties,
363
2079
  }),
364
2080
  z.object({
365
- '@type': z.literal('Task'),
366
- ...TaskProperties,
2081
+ '@type': z.literal('Query'),
2082
+ ...QueryProperties,
367
2083
  }),
368
2084
  z.object({
369
- '@type': z.literal('Tag'),
370
- ...TagProperties,
2085
+ '@type': z.literal('Post'),
2086
+ ...PostProperties,
371
2087
  }),
372
2088
  z.object({
373
- '@type': z.literal('SoftwareApplication'),
374
- ...SoftwareApplicationProperties,
2089
+ '@type': z.literal('PodcastEpisode'),
2090
+ ...PodcastEpisodeProperties,
375
2091
  }),
376
2092
  z.object({
377
- '@type': z.literal('Realm'),
378
- ...RealmProperties,
2093
+ '@type': z.literal('MusicRecording'),
2094
+ ...MusicRecordingProperties,
2095
+ }),
2096
+ z.object({
2097
+ '@type': z.literal('MusicAlbum'),
2098
+ ...MusicAlbumProperties,
379
2099
  }),
380
2100
  z.object({
381
2101
  '@type': z.literal('Message'),
382
2102
  ...MessageProperties,
383
2103
  }),
384
2104
  z.object({
385
- '@type': z.literal('Command'),
386
- ...CommandProperties,
2105
+ '@type': z.literal('Response'),
2106
+ ...ResponseProperties,
2107
+ }),
2108
+ z.object({
2109
+ '@type': z.literal('Comment'),
2110
+ ...CommentProperties,
2111
+ }),
2112
+ z.object({
2113
+ '@type': z.literal('Channel'),
2114
+ ...ChannelProperties,
2115
+ }),
2116
+ z.object({
2117
+ '@type': z.literal('Changeset'),
2118
+ ...ChangesetProperties,
387
2119
  }),
388
2120
  z.object({
389
2121
  '@type': z.literal('Collection'),
@@ -397,6 +2129,18 @@ export const EntityAndChildrenSchema = z
397
2129
  '@type': z.literal('Project'),
398
2130
  ...ProjectProperties,
399
2131
  }),
2132
+ z.object({
2133
+ '@type': z.literal('Directory'),
2134
+ ...DirectoryProperties,
2135
+ }),
2136
+ z.object({
2137
+ '@type': z.literal('Calendar'),
2138
+ ...CalendarProperties,
2139
+ }),
2140
+ z.object({
2141
+ '@type': z.literal('Book'),
2142
+ ...BookProperties,
2143
+ }),
400
2144
  z.object({
401
2145
  '@type': z.literal('MediaObject'),
402
2146
  ...MediaObjectProperties,
@@ -418,37 +2162,81 @@ export const EntityAndChildrenSchema = z
418
2162
  ...AudioObjectProperties,
419
2163
  }),
420
2164
  z.object({
421
- '@type': z.literal('Agent'),
422
- ...AgentProperties,
2165
+ '@type': z.literal('Article'),
2166
+ ...ArticleProperties,
423
2167
  }),
424
2168
  z.object({
425
- '@type': z.literal('SoftwareAgent'),
426
- ...SoftwareAgentProperties,
2169
+ '@type': z.literal('Software'),
2170
+ ...SoftwareProperties,
427
2171
  }),
428
2172
  z.object({
429
- '@type': z.literal('Person'),
430
- ...PersonProperties,
2173
+ '@type': z.literal('SoftwareApplication'),
2174
+ ...SoftwareApplicationProperties,
2175
+ }),
2176
+ z.object({
2177
+ '@type': z.literal('OperatingSystem'),
2178
+ ...OperatingSystemProperties,
2179
+ }),
2180
+ z.object({
2181
+ '@type': z.literal('AIModel'),
2182
+ ...AIModelProperties,
431
2183
  }),
432
2184
  ])
433
2185
  .superRefine(requireNodeIdentity);
434
- export const ActionAndChildrenSchema = z
2186
+ export const BaseAndChildrenSchema = z
435
2187
  .discriminatedUnion('@type', [
2188
+ z.object({
2189
+ '@type': z.literal('Base'),
2190
+ ...BaseProperties,
2191
+ }),
436
2192
  z.object({
437
2193
  '@type': z.literal('Action'),
438
2194
  ...ActionProperties,
439
2195
  }),
440
2196
  z.object({
441
- '@type': z.literal('UpdateAction'),
442
- ...UpdateActionProperties,
2197
+ '@type': z.literal('VisitAction'),
2198
+ ...VisitActionProperties,
2199
+ }),
2200
+ z.object({
2201
+ '@type': z.literal('TravelAction'),
2202
+ ...TravelActionProperties,
2203
+ }),
2204
+ z.object({
2205
+ '@type': z.literal('RejectAction'),
2206
+ ...RejectActionProperties,
443
2207
  }),
444
2208
  z.object({
445
2209
  '@type': z.literal('PlanAction'),
446
2210
  ...PlanActionProperties,
447
2211
  }),
2212
+ z.object({
2213
+ '@type': z.literal('MoveAction'),
2214
+ ...MoveActionProperties,
2215
+ }),
2216
+ z.object({
2217
+ '@type': z.literal('NavigateAction'),
2218
+ ...NavigateActionProperties,
2219
+ }),
448
2220
  z.object({
449
2221
  '@type': z.literal('MessageAction'),
450
2222
  ...MessageActionProperties,
451
2223
  }),
2224
+ z.object({
2225
+ '@type': z.literal('FindAction'),
2226
+ ...FindActionProperties,
2227
+ }),
2228
+ z.object({
2229
+ '@type': z.literal('ExperienceAction'),
2230
+ ...ExperienceActionProperties,
2231
+ }),
2232
+ z.object({
2233
+ '@type': z.literal('LeaveAction'),
2234
+ ...LeaveActionProperties,
2235
+ }),
2236
+ z.object({
2237
+ '@type': z.literal('JoinAction'),
2238
+ ...JoinActionProperties,
2239
+ }),
452
2240
  z.object({
453
2241
  '@type': z.literal('ExecuteAction'),
454
2242
  ...ExecuteActionProperties,
@@ -457,6 +2245,34 @@ export const ActionAndChildrenSchema = z
457
2245
  '@type': z.literal('DeleteAction'),
458
2246
  ...DeleteActionProperties,
459
2247
  }),
2248
+ z.object({
2249
+ '@type': z.literal('ConsumeAction'),
2250
+ ...ConsumeActionProperties,
2251
+ }),
2252
+ z.object({
2253
+ '@type': z.literal('WatchAction'),
2254
+ ...WatchActionProperties,
2255
+ }),
2256
+ z.object({
2257
+ '@type': z.literal('ViewAction'),
2258
+ ...ViewActionProperties,
2259
+ }),
2260
+ z.object({
2261
+ '@type': z.literal('ReadAction'),
2262
+ ...ReadActionProperties,
2263
+ }),
2264
+ z.object({
2265
+ '@type': z.literal('ListenAction'),
2266
+ ...ListenActionProperties,
2267
+ }),
2268
+ z.object({
2269
+ '@type': z.literal('EatAction'),
2270
+ ...EatActionProperties,
2271
+ }),
2272
+ z.object({
2273
+ '@type': z.literal('DrinkAction'),
2274
+ ...DrinkActionProperties,
2275
+ }),
460
2276
  z.object({
461
2277
  '@type': z.literal('CompleteAction'),
462
2278
  ...CompleteActionProperties,
@@ -465,13 +2281,85 @@ export const ActionAndChildrenSchema = z
465
2281
  '@type': z.literal('CancelAction'),
466
2282
  ...CancelActionProperties,
467
2283
  }),
468
- ])
469
- .superRefine(requireNodeIdentity);
470
- export const BaseAndChildrenSchema = z
471
- .discriminatedUnion('@type', [
472
2284
  z.object({
473
- '@type': z.literal('Base'),
474
- ...BaseProperties,
2285
+ '@type': z.literal('InteractAction'),
2286
+ ...InteractActionProperties,
2287
+ }),
2288
+ z.object({
2289
+ '@type': z.literal('FollowAction'),
2290
+ ...FollowActionProperties,
2291
+ }),
2292
+ z.object({
2293
+ '@type': z.literal('CommunicateAction'),
2294
+ ...CommunicateActionProperties,
2295
+ }),
2296
+ z.object({
2297
+ '@type': z.literal('CheckInAction'),
2298
+ ...CheckInActionProperties,
2299
+ }),
2300
+ z.object({
2301
+ '@type': z.literal('CallAction'),
2302
+ ...CallActionProperties,
2303
+ }),
2304
+ z.object({
2305
+ '@type': z.literal('OrganizeAction'),
2306
+ ...OrganizeActionProperties,
2307
+ }),
2308
+ z.object({
2309
+ '@type': z.literal('BookmarkAction'),
2310
+ ...BookmarkActionProperties,
2311
+ }),
2312
+ z.object({
2313
+ '@type': z.literal('AssessAction'),
2314
+ ...AssessActionProperties,
2315
+ }),
2316
+ z.object({
2317
+ '@type': z.literal('RespondAction'),
2318
+ ...RespondActionProperties,
2319
+ }),
2320
+ z.object({
2321
+ '@type': z.literal('ReactAction'),
2322
+ ...ReactActionProperties,
2323
+ }),
2324
+ z.object({
2325
+ '@type': z.literal('LikeAction'),
2326
+ ...LikeActionProperties,
2327
+ }),
2328
+ z.object({
2329
+ '@type': z.literal('CreateAction'),
2330
+ ...CreateActionProperties,
2331
+ }),
2332
+ z.object({
2333
+ '@type': z.literal('RecordAction'),
2334
+ ...RecordActionProperties,
2335
+ }),
2336
+ z.object({
2337
+ '@type': z.literal('QuoteAction'),
2338
+ ...QuoteActionProperties,
2339
+ }),
2340
+ z.object({
2341
+ '@type': z.literal('PublishAction'),
2342
+ ...PublishActionProperties,
2343
+ }),
2344
+ z.object({
2345
+ '@type': z.literal('PhotographAction'),
2346
+ ...PhotographActionProperties,
2347
+ }),
2348
+ z.object({
2349
+ '@type': z.literal('AnnotateAction'),
2350
+ ...AnnotateActionProperties,
2351
+ }),
2352
+ z.object({
2353
+ '@type': z.literal('UpdateAction'),
2354
+ ...UpdateActionProperties,
2355
+ }),
2356
+ z.object({
2357
+ '@type': z.literal('AddAction'),
2358
+ ...AddActionProperties,
2359
+ }),
2360
+ z.object({
2361
+ '@type': z.literal('AcceptAction'),
2362
+ ...AcceptActionProperties,
475
2363
  }),
476
2364
  z.object({
477
2365
  '@type': z.literal('Entity'),
@@ -485,53 +2373,97 @@ export const BaseAndChildrenSchema = z
485
2373
  '@type': z.literal('Tag'),
486
2374
  ...TagProperties,
487
2375
  }),
488
- z.object({
489
- '@type': z.literal('SoftwareApplication'),
490
- ...SoftwareApplicationProperties,
491
- }),
492
2376
  z.object({
493
2377
  '@type': z.literal('Realm'),
494
2378
  ...RealmProperties,
495
2379
  }),
496
2380
  z.object({
497
- '@type': z.literal('Message'),
498
- ...MessageProperties,
2381
+ '@type': z.literal('ProductModel'),
2382
+ ...ProductModelProperties,
2383
+ }),
2384
+ z.object({
2385
+ '@type': z.literal('Place'),
2386
+ ...PlaceProperties,
2387
+ }),
2388
+ z.object({
2389
+ '@type': z.literal('Venue'),
2390
+ ...VenueProperties,
2391
+ }),
2392
+ z.object({
2393
+ '@type': z.literal('Meal'),
2394
+ ...MealProperties,
2395
+ }),
2396
+ z.object({
2397
+ '@type': z.literal('Journey'),
2398
+ ...JourneyProperties,
2399
+ }),
2400
+ z.object({
2401
+ '@type': z.literal('Event'),
2402
+ ...EventProperties,
2403
+ }),
2404
+ z.object({
2405
+ '@type': z.literal('PhysicalObject'),
2406
+ ...PhysicalObjectProperties,
2407
+ }),
2408
+ z.object({
2409
+ '@type': z.literal('Device'),
2410
+ ...DeviceProperties,
499
2411
  }),
500
2412
  z.object({
501
2413
  '@type': z.literal('Command'),
502
2414
  ...CommandProperties,
503
2415
  }),
504
2416
  z.object({
505
- '@type': z.literal('Collection'),
506
- ...CollectionProperties,
2417
+ '@type': z.literal('Intangible'),
2418
+ ...IntangibleProperties,
507
2419
  }),
508
2420
  z.object({
509
- '@type': z.literal('Thread'),
510
- ...ThreadProperties,
2421
+ '@type': z.literal('Selector'),
2422
+ ...SelectorProperties,
511
2423
  }),
512
2424
  z.object({
513
- '@type': z.literal('Project'),
514
- ...ProjectProperties,
2425
+ '@type': z.literal('PageSelector'),
2426
+ ...PageSelectorProperties,
515
2427
  }),
516
2428
  z.object({
517
- '@type': z.literal('MediaObject'),
518
- ...MediaObjectProperties,
2429
+ '@type': z.literal('EpubCfiSelector'),
2430
+ ...EpubCfiSelectorProperties,
519
2431
  }),
520
2432
  z.object({
521
- '@type': z.literal('VideoObject'),
522
- ...VideoObjectProperties,
2433
+ '@type': z.literal('DefinedTerm'),
2434
+ ...DefinedTermProperties,
523
2435
  }),
524
2436
  z.object({
525
- '@type': z.literal('ImageObject'),
526
- ...ImageObjectProperties,
2437
+ '@type': z.literal('Category'),
2438
+ ...CategoryProperties,
527
2439
  }),
528
2440
  z.object({
529
- '@type': z.literal('DocumentObject'),
530
- ...DocumentObjectProperties,
2441
+ '@type': z.literal('Session'),
2442
+ ...SessionProperties,
531
2443
  }),
532
2444
  z.object({
533
- '@type': z.literal('AudioObject'),
534
- ...AudioObjectProperties,
2445
+ '@type': z.literal('Tenure'),
2446
+ ...TenureProperties,
2447
+ }),
2448
+ z.object({
2449
+ '@type': z.literal('Relationship'),
2450
+ ...RelationshipProperties,
2451
+ }),
2452
+ z.object({
2453
+ '@type': z.literal('Membership'),
2454
+ ...MembershipProperties,
2455
+ }),
2456
+ z.object({
2457
+ '@type': z.literal('Enrollment'),
2458
+ ...EnrollmentProperties,
2459
+ }),
2460
+ z.object({
2461
+ '@type': z.literal('DeviceSession'),
2462
+ ...DeviceSessionProperties,
2463
+ }),
2464
+ z.object({
2465
+ '@type': z.literal('CallSession'),
2466
+ ...CallSessionProperties,
535
2467
  }),
536
2468
  z.object({
537
2469
  '@type': z.literal('Agent'),
@@ -546,36 +2478,140 @@ export const BaseAndChildrenSchema = z
546
2478
  ...PersonProperties,
547
2479
  }),
548
2480
  z.object({
549
- '@type': z.literal('Action'),
550
- ...ActionProperties,
2481
+ '@type': z.literal('Organization'),
2482
+ ...OrganizationProperties,
551
2483
  }),
552
2484
  z.object({
553
- '@type': z.literal('UpdateAction'),
554
- ...UpdateActionProperties,
2485
+ '@type': z.literal('PerformingGroup'),
2486
+ ...PerformingGroupProperties,
555
2487
  }),
556
2488
  z.object({
557
- '@type': z.literal('PlanAction'),
558
- ...PlanActionProperties,
2489
+ '@type': z.literal('MusicGroup'),
2490
+ ...MusicGroupProperties,
559
2491
  }),
560
2492
  z.object({
561
- '@type': z.literal('MessageAction'),
562
- ...MessageActionProperties,
2493
+ '@type': z.literal('CreativeWork'),
2494
+ ...CreativeWorkProperties,
563
2495
  }),
564
2496
  z.object({
565
- '@type': z.literal('ExecuteAction'),
566
- ...ExecuteActionProperties,
2497
+ '@type': z.literal('SoftwareSourceCode'),
2498
+ ...SoftwareSourceCodeProperties,
567
2499
  }),
568
2500
  z.object({
569
- '@type': z.literal('DeleteAction'),
570
- ...DeleteActionProperties,
2501
+ '@type': z.literal('Revision'),
2502
+ ...RevisionProperties,
571
2503
  }),
572
2504
  z.object({
573
- '@type': z.literal('CompleteAction'),
574
- ...CompleteActionProperties,
2505
+ '@type': z.literal('Repository'),
2506
+ ...RepositoryProperties,
575
2507
  }),
576
2508
  z.object({
577
- '@type': z.literal('CancelAction'),
578
- ...CancelActionProperties,
2509
+ '@type': z.literal('Quotation'),
2510
+ ...QuotationProperties,
2511
+ }),
2512
+ z.object({
2513
+ '@type': z.literal('Query'),
2514
+ ...QueryProperties,
2515
+ }),
2516
+ z.object({
2517
+ '@type': z.literal('Post'),
2518
+ ...PostProperties,
2519
+ }),
2520
+ z.object({
2521
+ '@type': z.literal('PodcastEpisode'),
2522
+ ...PodcastEpisodeProperties,
2523
+ }),
2524
+ z.object({
2525
+ '@type': z.literal('MusicRecording'),
2526
+ ...MusicRecordingProperties,
2527
+ }),
2528
+ z.object({
2529
+ '@type': z.literal('MusicAlbum'),
2530
+ ...MusicAlbumProperties,
2531
+ }),
2532
+ z.object({
2533
+ '@type': z.literal('Message'),
2534
+ ...MessageProperties,
2535
+ }),
2536
+ z.object({
2537
+ '@type': z.literal('Response'),
2538
+ ...ResponseProperties,
2539
+ }),
2540
+ z.object({
2541
+ '@type': z.literal('Comment'),
2542
+ ...CommentProperties,
2543
+ }),
2544
+ z.object({
2545
+ '@type': z.literal('Channel'),
2546
+ ...ChannelProperties,
2547
+ }),
2548
+ z.object({
2549
+ '@type': z.literal('Changeset'),
2550
+ ...ChangesetProperties,
2551
+ }),
2552
+ z.object({
2553
+ '@type': z.literal('Collection'),
2554
+ ...CollectionProperties,
2555
+ }),
2556
+ z.object({
2557
+ '@type': z.literal('Thread'),
2558
+ ...ThreadProperties,
2559
+ }),
2560
+ z.object({
2561
+ '@type': z.literal('Project'),
2562
+ ...ProjectProperties,
2563
+ }),
2564
+ z.object({
2565
+ '@type': z.literal('Directory'),
2566
+ ...DirectoryProperties,
2567
+ }),
2568
+ z.object({
2569
+ '@type': z.literal('Calendar'),
2570
+ ...CalendarProperties,
2571
+ }),
2572
+ z.object({
2573
+ '@type': z.literal('Book'),
2574
+ ...BookProperties,
2575
+ }),
2576
+ z.object({
2577
+ '@type': z.literal('MediaObject'),
2578
+ ...MediaObjectProperties,
2579
+ }),
2580
+ z.object({
2581
+ '@type': z.literal('VideoObject'),
2582
+ ...VideoObjectProperties,
2583
+ }),
2584
+ z.object({
2585
+ '@type': z.literal('ImageObject'),
2586
+ ...ImageObjectProperties,
2587
+ }),
2588
+ z.object({
2589
+ '@type': z.literal('DocumentObject'),
2590
+ ...DocumentObjectProperties,
2591
+ }),
2592
+ z.object({
2593
+ '@type': z.literal('AudioObject'),
2594
+ ...AudioObjectProperties,
2595
+ }),
2596
+ z.object({
2597
+ '@type': z.literal('Article'),
2598
+ ...ArticleProperties,
2599
+ }),
2600
+ z.object({
2601
+ '@type': z.literal('Software'),
2602
+ ...SoftwareProperties,
2603
+ }),
2604
+ z.object({
2605
+ '@type': z.literal('SoftwareApplication'),
2606
+ ...SoftwareApplicationProperties,
2607
+ }),
2608
+ z.object({
2609
+ '@type': z.literal('OperatingSystem'),
2610
+ ...OperatingSystemProperties,
2611
+ }),
2612
+ z.object({
2613
+ '@type': z.literal('AIModel'),
2614
+ ...AIModelProperties,
579
2615
  }),
580
2616
  ])
581
2617
  .superRefine(requireNodeIdentity);