@chronicle.app/schema 0.3.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 +89 -19
- package/chronicle.ttl +1023 -579
- package/dist/datetime.d.ts +10 -0
- package/dist/datetime.js +49 -0
- package/dist/identity.d.ts +59 -0
- package/dist/identity.js +166 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/schema.d.ts +317 -74
- package/dist/schema.js +1227 -419
- package/package.json +4 -3
package/dist/schema.js
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
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
|
+
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
|
+
]);
|
|
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
|
+
};
|
|
4
34
|
function requireNodeIdentity(node, ctx) {
|
|
5
35
|
const hasKey = Array.isArray(node['@key']) && node['@key'].length > 0;
|
|
6
36
|
const hasId = typeof node['@id'] === 'string' && node['@id'].length > 0;
|
|
@@ -19,7 +49,12 @@ const BaseProperties = {
|
|
|
19
49
|
.optional(),
|
|
20
50
|
'@id': z.string().optional(),
|
|
21
51
|
'@asserts': z.array(z.string()).optional(),
|
|
22
|
-
'@assertedAt': z
|
|
52
|
+
'@assertedAt': z
|
|
53
|
+
.union([
|
|
54
|
+
z.date(),
|
|
55
|
+
z.string().refine(isInstant, 'Not an instant. Use a UTC time, such as 2026-03-14T09:26:00Z.'),
|
|
56
|
+
])
|
|
57
|
+
.optional(),
|
|
23
58
|
};
|
|
24
59
|
export const BaseSchema = z
|
|
25
60
|
.object({
|
|
@@ -27,17 +62,86 @@ export const BaseSchema = z
|
|
|
27
62
|
...BaseProperties,
|
|
28
63
|
})
|
|
29
64
|
.superRefine(requireNodeIdentity);
|
|
65
|
+
const EntityProperties = {
|
|
66
|
+
...BaseProperties,
|
|
67
|
+
about: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
68
|
+
alternateName: z.lazy(() => z.array(z.string())).optional(),
|
|
69
|
+
body: z.lazy(() => z.string()).optional(),
|
|
70
|
+
category: z.lazy(() => z.array(z.string())).optional(),
|
|
71
|
+
contains: z.lazy(() => z.array(MediaObjectAndChildrenSchema)).optional(),
|
|
72
|
+
description: z.lazy(() => z.string()).optional(),
|
|
73
|
+
emblem: z.lazy(() => ImageObjectAndChildrenSchema).optional(),
|
|
74
|
+
handle: z.lazy(() => z.string()).optional(),
|
|
75
|
+
inAccount: z
|
|
76
|
+
.lazy(() => z.array(z.union([AgentAndChildrenSchema, FinancialAccountAndChildrenSchema])))
|
|
77
|
+
.optional(),
|
|
78
|
+
inRealm: z.lazy(() => RealmAndChildrenSchema).optional(),
|
|
79
|
+
isPartOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
80
|
+
location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
|
|
81
|
+
name: z.lazy(() => z.string()).optional(),
|
|
82
|
+
references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
83
|
+
sameAs: z.lazy(() => z.array(z.union([EntityAndChildrenSchema, z.string()]))).optional(),
|
|
84
|
+
tags: z.lazy(() => z.array(z.string())).optional(),
|
|
85
|
+
url: z.lazy(() => z.string().url()).optional(),
|
|
86
|
+
hasPart: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
87
|
+
resultOf: z.lazy(() => z.array(ActionAndChildrenSchema)).optional(),
|
|
88
|
+
};
|
|
89
|
+
export const EntitySchema = z
|
|
90
|
+
.object({
|
|
91
|
+
'@type': z.literal('Entity'),
|
|
92
|
+
...EntityProperties,
|
|
93
|
+
})
|
|
94
|
+
.superRefine(requireNodeIdentity);
|
|
95
|
+
const CreativeWorkProperties = {
|
|
96
|
+
...EntityProperties,
|
|
97
|
+
author: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
|
|
98
|
+
creator: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
|
|
99
|
+
datePublished: z.lazy(() => DateTimeSchema).optional(),
|
|
100
|
+
genre: z.lazy(() => z.array(z.string())).optional(),
|
|
101
|
+
isBasedOn: z.lazy(() => z.array(CreativeWorkAndChildrenSchema)).optional(),
|
|
102
|
+
publisher: z.lazy(() => z.array(OrganizationAndChildrenSchema)).optional(),
|
|
103
|
+
references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
104
|
+
rendition: z.lazy(() => z.array(MediaObjectAndChildrenSchema)).optional(),
|
|
105
|
+
series: z.lazy(() => z.array(CreativeWorkAndChildrenSchema)).optional(),
|
|
106
|
+
sourceFormat: z.lazy(() => z.string()).optional(),
|
|
107
|
+
visibility: z.lazy(() => z.string()).optional(),
|
|
108
|
+
webFeed: z.lazy(() => z.array(z.string().url())).optional(),
|
|
109
|
+
};
|
|
110
|
+
export const CreativeWorkSchema = z
|
|
111
|
+
.object({
|
|
112
|
+
'@type': z.literal('CreativeWork'),
|
|
113
|
+
...CreativeWorkProperties,
|
|
114
|
+
})
|
|
115
|
+
.superRefine(requireNodeIdentity);
|
|
116
|
+
const SoftwareProperties = {
|
|
117
|
+
...CreativeWorkProperties,
|
|
118
|
+
};
|
|
119
|
+
export const SoftwareSchema = z
|
|
120
|
+
.object({
|
|
121
|
+
'@type': z.literal('Software'),
|
|
122
|
+
...SoftwareProperties,
|
|
123
|
+
})
|
|
124
|
+
.superRefine(requireNodeIdentity);
|
|
125
|
+
const AIModelProperties = {
|
|
126
|
+
...SoftwareProperties,
|
|
127
|
+
};
|
|
128
|
+
export const AIModelSchema = z
|
|
129
|
+
.object({
|
|
130
|
+
'@type': z.literal('AIModel'),
|
|
131
|
+
...AIModelProperties,
|
|
132
|
+
})
|
|
133
|
+
.superRefine(requireNodeIdentity);
|
|
30
134
|
const ActionProperties = {
|
|
31
135
|
...BaseProperties,
|
|
32
136
|
agent: z.lazy(() => AgentAndChildrenSchema).optional(),
|
|
33
|
-
endTime: z.lazy(() =>
|
|
34
|
-
instrument: z.lazy(() => EntityAndChildrenSchema).optional(),
|
|
137
|
+
endTime: z.lazy(() => DateTimeSchema).optional(),
|
|
138
|
+
instrument: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
35
139
|
location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
|
|
36
140
|
object: z.lazy(() => EntityAndChildrenSchema).optional(),
|
|
37
141
|
result: z.lazy(() => EntityAndChildrenSchema).optional(),
|
|
38
|
-
startTime: z.lazy(() =>
|
|
142
|
+
startTime: z.lazy(() => DateTimeSchema).optional(),
|
|
39
143
|
target: z.lazy(() => EntityAndChildrenSchema).optional(),
|
|
40
|
-
timestamp: z.lazy(() =>
|
|
144
|
+
timestamp: z.lazy(() => DateTimeSchema).optional(),
|
|
41
145
|
};
|
|
42
146
|
export const ActionSchema = z
|
|
43
147
|
.object({
|
|
@@ -45,6 +149,15 @@ export const ActionSchema = z
|
|
|
45
149
|
...ActionProperties,
|
|
46
150
|
})
|
|
47
151
|
.superRefine(requireNodeIdentity);
|
|
152
|
+
const AcceptActionProperties = {
|
|
153
|
+
...ActionProperties,
|
|
154
|
+
};
|
|
155
|
+
export const AcceptActionSchema = z
|
|
156
|
+
.object({
|
|
157
|
+
'@type': z.literal('AcceptAction'),
|
|
158
|
+
...AcceptActionProperties,
|
|
159
|
+
})
|
|
160
|
+
.superRefine(requireNodeIdentity);
|
|
48
161
|
const UpdateActionProperties = {
|
|
49
162
|
...ActionProperties,
|
|
50
163
|
};
|
|
@@ -63,32 +176,9 @@ export const AddActionSchema = z
|
|
|
63
176
|
...AddActionProperties,
|
|
64
177
|
})
|
|
65
178
|
.superRefine(requireNodeIdentity);
|
|
66
|
-
const EntityProperties = {
|
|
67
|
-
...BaseProperties,
|
|
68
|
-
about: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
69
|
-
body: z.lazy(() => z.string()).optional(),
|
|
70
|
-
category: z.lazy(() => z.array(z.string())).optional(),
|
|
71
|
-
contains: z.lazy(() => z.array(MediaObjectAndChildrenSchema)).optional(),
|
|
72
|
-
description: z.lazy(() => z.string()).optional(),
|
|
73
|
-
emblem: z.lazy(() => ImageObjectAndChildrenSchema).optional(),
|
|
74
|
-
handle: z.lazy(() => z.string()).optional(),
|
|
75
|
-
inRealm: z.lazy(() => RealmAndChildrenSchema).optional(),
|
|
76
|
-
isPartOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
77
|
-
location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
|
|
78
|
-
name: z.lazy(() => z.string()).optional(),
|
|
79
|
-
references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
80
|
-
sameAs: z.lazy(() => z.array(z.union([EntityAndChildrenSchema, z.string()]))).optional(),
|
|
81
|
-
tags: z.lazy(() => z.array(z.string())).optional(),
|
|
82
|
-
url: z.lazy(() => z.string().url()).optional(),
|
|
83
|
-
};
|
|
84
|
-
export const EntitySchema = z
|
|
85
|
-
.object({
|
|
86
|
-
'@type': z.literal('Entity'),
|
|
87
|
-
...EntityProperties,
|
|
88
|
-
})
|
|
89
|
-
.superRefine(requireNodeIdentity);
|
|
90
179
|
const AgentProperties = {
|
|
91
180
|
...EntityProperties,
|
|
181
|
+
likes: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
92
182
|
memberOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
93
183
|
};
|
|
94
184
|
export const AgentSchema = z
|
|
@@ -115,23 +205,6 @@ export const AnnotateActionSchema = z
|
|
|
115
205
|
...AnnotateActionProperties,
|
|
116
206
|
})
|
|
117
207
|
.superRefine(requireNodeIdentity);
|
|
118
|
-
const CreativeWorkProperties = {
|
|
119
|
-
...EntityProperties,
|
|
120
|
-
author: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
|
|
121
|
-
creator: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
|
|
122
|
-
datePublished: z.lazy(() => z.union([z.date(), z.string()])).optional(),
|
|
123
|
-
genre: z.lazy(() => z.array(z.string())).optional(),
|
|
124
|
-
publisher: z.lazy(() => z.array(OrganizationAndChildrenSchema)).optional(),
|
|
125
|
-
references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
126
|
-
sourceFormat: z.lazy(() => z.string()).optional(),
|
|
127
|
-
visibility: z.lazy(() => z.string()).optional(),
|
|
128
|
-
};
|
|
129
|
-
export const CreativeWorkSchema = z
|
|
130
|
-
.object({
|
|
131
|
-
'@type': z.literal('CreativeWork'),
|
|
132
|
-
...CreativeWorkProperties,
|
|
133
|
-
})
|
|
134
|
-
.superRefine(requireNodeIdentity);
|
|
135
208
|
const ArticleProperties = {
|
|
136
209
|
...CreativeWorkProperties,
|
|
137
210
|
};
|
|
@@ -153,8 +226,10 @@ export const AssessActionSchema = z
|
|
|
153
226
|
const MediaObjectProperties = {
|
|
154
227
|
...CreativeWorkProperties,
|
|
155
228
|
contentPath: z.lazy(() => z.string()).optional(),
|
|
229
|
+
contentSize: z.lazy(() => z.number()).optional(),
|
|
156
230
|
mimeType: z.lazy(() => z.string()).optional(),
|
|
157
231
|
snapshotOf: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
232
|
+
renditionOf: z.lazy(() => z.array(CreativeWorkAndChildrenSchema)).optional(),
|
|
158
233
|
};
|
|
159
234
|
export const MediaObjectSchema = z
|
|
160
235
|
.object({
|
|
@@ -167,6 +242,7 @@ const AudioObjectProperties = {
|
|
|
167
242
|
artist: z.lazy(() => z.array(MusicGroupAndChildrenSchema)).optional(),
|
|
168
243
|
duration: z.lazy(() => z.string()).optional(),
|
|
169
244
|
genre: z.lazy(() => z.array(z.string())).optional(),
|
|
245
|
+
transcript: z.lazy(() => z.string()).optional(),
|
|
170
246
|
};
|
|
171
247
|
export const AudioObjectSchema = z
|
|
172
248
|
.object({
|
|
@@ -202,6 +278,24 @@ export const BookmarkActionSchema = z
|
|
|
202
278
|
...BookmarkActionProperties,
|
|
203
279
|
})
|
|
204
280
|
.superRefine(requireNodeIdentity);
|
|
281
|
+
const CollectionProperties = {
|
|
282
|
+
...CreativeWorkProperties,
|
|
283
|
+
};
|
|
284
|
+
export const CollectionSchema = z
|
|
285
|
+
.object({
|
|
286
|
+
'@type': z.literal('Collection'),
|
|
287
|
+
...CollectionProperties,
|
|
288
|
+
})
|
|
289
|
+
.superRefine(requireNodeIdentity);
|
|
290
|
+
const CalendarProperties = {
|
|
291
|
+
...CollectionProperties,
|
|
292
|
+
};
|
|
293
|
+
export const CalendarSchema = z
|
|
294
|
+
.object({
|
|
295
|
+
'@type': z.literal('Calendar'),
|
|
296
|
+
...CalendarProperties,
|
|
297
|
+
})
|
|
298
|
+
.superRefine(requireNodeIdentity);
|
|
205
299
|
const InteractActionProperties = {
|
|
206
300
|
...ActionProperties,
|
|
207
301
|
};
|
|
@@ -231,9 +325,13 @@ export const CallActionSchema = z
|
|
|
231
325
|
.superRefine(requireNodeIdentity);
|
|
232
326
|
const SessionProperties = {
|
|
233
327
|
...EntityProperties,
|
|
328
|
+
isStageOf: z.lazy(() => SessionAndChildrenSchema).optional(),
|
|
234
329
|
references: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
330
|
+
scheduledEnd: z.lazy(() => DateTimeSchema).optional(),
|
|
331
|
+
scheduledStart: z.lazy(() => DateTimeSchema).optional(),
|
|
235
332
|
subject: z.lazy(() => z.array(EntityAndChildrenSchema)).optional(),
|
|
236
333
|
workingDirectory: z.lazy(() => DirectoryAndChildrenSchema).optional(),
|
|
334
|
+
hasStage: z.lazy(() => z.array(SessionAndChildrenSchema)).optional(),
|
|
237
335
|
};
|
|
238
336
|
export const SessionSchema = z
|
|
239
337
|
.object({
|
|
@@ -288,6 +386,15 @@ export const CategorySchema = z
|
|
|
288
386
|
...CategoryProperties,
|
|
289
387
|
})
|
|
290
388
|
.superRefine(requireNodeIdentity);
|
|
389
|
+
const ChangesetProperties = {
|
|
390
|
+
...CreativeWorkProperties,
|
|
391
|
+
};
|
|
392
|
+
export const ChangesetSchema = z
|
|
393
|
+
.object({
|
|
394
|
+
'@type': z.literal('Changeset'),
|
|
395
|
+
...ChangesetProperties,
|
|
396
|
+
})
|
|
397
|
+
.superRefine(requireNodeIdentity);
|
|
291
398
|
const ChannelProperties = {
|
|
292
399
|
...CreativeWorkProperties,
|
|
293
400
|
member: z
|
|
@@ -309,15 +416,6 @@ export const CheckInActionSchema = z
|
|
|
309
416
|
...CheckInActionProperties,
|
|
310
417
|
})
|
|
311
418
|
.superRefine(requireNodeIdentity);
|
|
312
|
-
const CollectionProperties = {
|
|
313
|
-
...CreativeWorkProperties,
|
|
314
|
-
};
|
|
315
|
-
export const CollectionSchema = z
|
|
316
|
-
.object({
|
|
317
|
-
'@type': z.literal('Collection'),
|
|
318
|
-
...CollectionProperties,
|
|
319
|
-
})
|
|
320
|
-
.superRefine(requireNodeIdentity);
|
|
321
419
|
const CommandProperties = {
|
|
322
420
|
...EntityProperties,
|
|
323
421
|
};
|
|
@@ -419,13 +517,13 @@ export const DocumentObjectSchema = z
|
|
|
419
517
|
...DocumentObjectProperties,
|
|
420
518
|
})
|
|
421
519
|
.superRefine(requireNodeIdentity);
|
|
422
|
-
const
|
|
520
|
+
const DrinkActionProperties = {
|
|
423
521
|
...ConsumeActionProperties,
|
|
424
522
|
};
|
|
425
|
-
export const
|
|
523
|
+
export const DrinkActionSchema = z
|
|
426
524
|
.object({
|
|
427
|
-
'@type': z.literal('
|
|
428
|
-
...
|
|
525
|
+
'@type': z.literal('DrinkAction'),
|
|
526
|
+
...DrinkActionProperties,
|
|
429
527
|
})
|
|
430
528
|
.superRefine(requireNodeIdentity);
|
|
431
529
|
const EatActionProperties = {
|
|
@@ -469,9 +567,10 @@ export const EpubCfiSelectorSchema = z
|
|
|
469
567
|
.superRefine(requireNodeIdentity);
|
|
470
568
|
const EventProperties = {
|
|
471
569
|
...EntityProperties,
|
|
472
|
-
|
|
570
|
+
attendee: z.lazy(() => z.array(AgentAndChildrenSchema)).optional(),
|
|
473
571
|
location: z.lazy(() => z.union([LocationAndChildrenSchema, PlaceAndChildrenSchema])).optional(),
|
|
474
|
-
|
|
572
|
+
scheduledEnd: z.lazy(() => DateTimeSchema).optional(),
|
|
573
|
+
scheduledStart: z.lazy(() => DateTimeSchema).optional(),
|
|
475
574
|
};
|
|
476
575
|
export const EventSchema = z
|
|
477
576
|
.object({
|
|
@@ -497,6 +596,37 @@ export const ExperienceActionSchema = z
|
|
|
497
596
|
...ExperienceActionProperties,
|
|
498
597
|
})
|
|
499
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);
|
|
500
630
|
const FindActionProperties = {
|
|
501
631
|
...ActionProperties,
|
|
502
632
|
};
|
|
@@ -518,6 +648,7 @@ export const FollowActionSchema = z
|
|
|
518
648
|
const ImageObjectProperties = {
|
|
519
649
|
...MediaObjectProperties,
|
|
520
650
|
caption: z.lazy(() => z.string()).optional(),
|
|
651
|
+
exifData: z.lazy(() => z.record(z.string(), z.union([z.string(), z.number()]))).optional(),
|
|
521
652
|
height: z.lazy(() => z.number()).optional(),
|
|
522
653
|
width: z.lazy(() => z.number()).optional(),
|
|
523
654
|
};
|
|
@@ -527,20 +658,6 @@ export const ImageObjectSchema = z
|
|
|
527
658
|
...ImageObjectProperties,
|
|
528
659
|
})
|
|
529
660
|
.superRefine(requireNodeIdentity);
|
|
530
|
-
const StructuredValueProperties = {};
|
|
531
|
-
export const StructuredValueSchema = z.object({
|
|
532
|
-
'@type': z.literal('StructuredValue'),
|
|
533
|
-
...StructuredValueProperties,
|
|
534
|
-
});
|
|
535
|
-
const IntervalProperties = {
|
|
536
|
-
...StructuredValueProperties,
|
|
537
|
-
endTime: z.lazy(() => z.union([z.date(), z.string()])).optional(),
|
|
538
|
-
startTime: z.lazy(() => z.union([z.date(), z.string()])).optional(),
|
|
539
|
-
};
|
|
540
|
-
export const IntervalSchema = z.object({
|
|
541
|
-
'@type': z.literal('Interval'),
|
|
542
|
-
...IntervalProperties,
|
|
543
|
-
});
|
|
544
661
|
const JoinActionProperties = {
|
|
545
662
|
...ExperienceActionProperties,
|
|
546
663
|
};
|
|
@@ -551,7 +668,7 @@ export const JoinActionSchema = z
|
|
|
551
668
|
})
|
|
552
669
|
.superRefine(requireNodeIdentity);
|
|
553
670
|
const JourneyProperties = {
|
|
554
|
-
...
|
|
671
|
+
...SessionProperties,
|
|
555
672
|
distance: z.lazy(() => z.number()).optional(),
|
|
556
673
|
path: z.lazy(() => z.string()).optional(),
|
|
557
674
|
travelMode: z.lazy(() => z.string()).optional(),
|
|
@@ -598,6 +715,11 @@ export const ListenActionSchema = z
|
|
|
598
715
|
...ListenActionProperties,
|
|
599
716
|
})
|
|
600
717
|
.superRefine(requireNodeIdentity);
|
|
718
|
+
const StructuredValueProperties = {};
|
|
719
|
+
export const StructuredValueSchema = z.object({
|
|
720
|
+
'@type': z.literal('StructuredValue'),
|
|
721
|
+
...StructuredValueProperties,
|
|
722
|
+
});
|
|
601
723
|
const LocationProperties = {
|
|
602
724
|
...StructuredValueProperties,
|
|
603
725
|
address: z.lazy(() => z.string()).optional(),
|
|
@@ -617,6 +739,15 @@ export const MealSchema = z
|
|
|
617
739
|
...MealProperties,
|
|
618
740
|
})
|
|
619
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);
|
|
620
751
|
const MembershipProperties = {
|
|
621
752
|
...SessionProperties,
|
|
622
753
|
role: z.lazy(() => z.string()).optional(),
|
|
@@ -648,6 +779,35 @@ export const MessageActionSchema = z
|
|
|
648
779
|
...MessageActionProperties,
|
|
649
780
|
})
|
|
650
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
|
+
});
|
|
791
|
+
const MoveActionProperties = {
|
|
792
|
+
...ActionProperties,
|
|
793
|
+
};
|
|
794
|
+
export const MoveActionSchema = z
|
|
795
|
+
.object({
|
|
796
|
+
'@type': z.literal('MoveAction'),
|
|
797
|
+
...MoveActionProperties,
|
|
798
|
+
})
|
|
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);
|
|
651
811
|
const MusicAlbumProperties = {
|
|
652
812
|
...CreativeWorkProperties,
|
|
653
813
|
artist: z.lazy(() => z.array(MusicGroupAndChildrenSchema)).optional(),
|
|
@@ -700,6 +860,33 @@ export const MusicRecordingSchema = z
|
|
|
700
860
|
...MusicRecordingProperties,
|
|
701
861
|
})
|
|
702
862
|
.superRefine(requireNodeIdentity);
|
|
863
|
+
const NavigateActionProperties = {
|
|
864
|
+
...MoveActionProperties,
|
|
865
|
+
};
|
|
866
|
+
export const NavigateActionSchema = z
|
|
867
|
+
.object({
|
|
868
|
+
'@type': z.literal('NavigateAction'),
|
|
869
|
+
...NavigateActionProperties,
|
|
870
|
+
})
|
|
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);
|
|
881
|
+
const OperatingSystemProperties = {
|
|
882
|
+
...SoftwareProperties,
|
|
883
|
+
};
|
|
884
|
+
export const OperatingSystemSchema = z
|
|
885
|
+
.object({
|
|
886
|
+
'@type': z.literal('OperatingSystem'),
|
|
887
|
+
...OperatingSystemProperties,
|
|
888
|
+
})
|
|
889
|
+
.superRefine(requireNodeIdentity);
|
|
703
890
|
const PageSelectorProperties = {
|
|
704
891
|
...SelectorProperties,
|
|
705
892
|
};
|
|
@@ -709,8 +896,49 @@ export const PageSelectorSchema = z
|
|
|
709
896
|
...PageSelectorProperties,
|
|
710
897
|
})
|
|
711
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);
|
|
712
926
|
const PersonProperties = {
|
|
713
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(),
|
|
714
942
|
};
|
|
715
943
|
export const PersonSchema = z
|
|
716
944
|
.object({
|
|
@@ -718,6 +946,15 @@ export const PersonSchema = z
|
|
|
718
946
|
...PersonProperties,
|
|
719
947
|
})
|
|
720
948
|
.superRefine(requireNodeIdentity);
|
|
949
|
+
const PhotographActionProperties = {
|
|
950
|
+
...CreateActionProperties,
|
|
951
|
+
};
|
|
952
|
+
export const PhotographActionSchema = z
|
|
953
|
+
.object({
|
|
954
|
+
'@type': z.literal('PhotographAction'),
|
|
955
|
+
...PhotographActionProperties,
|
|
956
|
+
})
|
|
957
|
+
.superRefine(requireNodeIdentity);
|
|
721
958
|
const PlaceProperties = {
|
|
722
959
|
...EntityProperties,
|
|
723
960
|
};
|
|
@@ -739,6 +976,7 @@ export const PlanActionSchema = z
|
|
|
739
976
|
const PodcastEpisodeProperties = {
|
|
740
977
|
...CreativeWorkProperties,
|
|
741
978
|
duration: z.lazy(() => z.string()).optional(),
|
|
979
|
+
transcript: z.lazy(() => z.string()).optional(),
|
|
742
980
|
};
|
|
743
981
|
export const PodcastEpisodeSchema = z
|
|
744
982
|
.object({
|
|
@@ -746,6 +984,15 @@ export const PodcastEpisodeSchema = z
|
|
|
746
984
|
...PodcastEpisodeProperties,
|
|
747
985
|
})
|
|
748
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);
|
|
749
996
|
const PostProperties = {
|
|
750
997
|
...CreativeWorkProperties,
|
|
751
998
|
};
|
|
@@ -755,6 +1002,15 @@ export const PostSchema = z
|
|
|
755
1002
|
...PostProperties,
|
|
756
1003
|
})
|
|
757
1004
|
.superRefine(requireNodeIdentity);
|
|
1005
|
+
const ProductModelProperties = {
|
|
1006
|
+
...EntityProperties,
|
|
1007
|
+
};
|
|
1008
|
+
export const ProductModelSchema = z
|
|
1009
|
+
.object({
|
|
1010
|
+
'@type': z.literal('ProductModel'),
|
|
1011
|
+
...ProductModelProperties,
|
|
1012
|
+
})
|
|
1013
|
+
.superRefine(requireNodeIdentity);
|
|
758
1014
|
const ProjectProperties = {
|
|
759
1015
|
...CollectionProperties,
|
|
760
1016
|
};
|
|
@@ -821,6 +1077,24 @@ export const RealmSchema = z
|
|
|
821
1077
|
...RealmProperties,
|
|
822
1078
|
})
|
|
823
1079
|
.superRefine(requireNodeIdentity);
|
|
1080
|
+
const RecordActionProperties = {
|
|
1081
|
+
...CreateActionProperties,
|
|
1082
|
+
};
|
|
1083
|
+
export const RecordActionSchema = z
|
|
1084
|
+
.object({
|
|
1085
|
+
'@type': z.literal('RecordAction'),
|
|
1086
|
+
...RecordActionProperties,
|
|
1087
|
+
})
|
|
1088
|
+
.superRefine(requireNodeIdentity);
|
|
1089
|
+
const RejectActionProperties = {
|
|
1090
|
+
...ActionProperties,
|
|
1091
|
+
};
|
|
1092
|
+
export const RejectActionSchema = z
|
|
1093
|
+
.object({
|
|
1094
|
+
'@type': z.literal('RejectAction'),
|
|
1095
|
+
...RejectActionProperties,
|
|
1096
|
+
})
|
|
1097
|
+
.superRefine(requireNodeIdentity);
|
|
824
1098
|
const RelationshipProperties = {
|
|
825
1099
|
...SessionProperties,
|
|
826
1100
|
role: z.lazy(() => z.string()).optional(),
|
|
@@ -831,6 +1105,15 @@ export const RelationshipSchema = z
|
|
|
831
1105
|
...RelationshipProperties,
|
|
832
1106
|
})
|
|
833
1107
|
.superRefine(requireNodeIdentity);
|
|
1108
|
+
const RepositoryProperties = {
|
|
1109
|
+
...CreativeWorkProperties,
|
|
1110
|
+
};
|
|
1111
|
+
export const RepositorySchema = z
|
|
1112
|
+
.object({
|
|
1113
|
+
'@type': z.literal('Repository'),
|
|
1114
|
+
...RepositoryProperties,
|
|
1115
|
+
})
|
|
1116
|
+
.superRefine(requireNodeIdentity);
|
|
834
1117
|
const RespondActionProperties = {
|
|
835
1118
|
...AssessActionProperties,
|
|
836
1119
|
};
|
|
@@ -840,38 +1123,112 @@ export const RespondActionSchema = z
|
|
|
840
1123
|
...RespondActionProperties,
|
|
841
1124
|
})
|
|
842
1125
|
.superRefine(requireNodeIdentity);
|
|
843
|
-
const
|
|
844
|
-
...
|
|
1126
|
+
const RevisionProperties = {
|
|
1127
|
+
...CreativeWorkProperties,
|
|
845
1128
|
};
|
|
846
|
-
export const
|
|
1129
|
+
export const RevisionSchema = z
|
|
847
1130
|
.object({
|
|
848
|
-
'@type': z.literal('
|
|
849
|
-
...
|
|
1131
|
+
'@type': z.literal('Revision'),
|
|
1132
|
+
...RevisionProperties,
|
|
850
1133
|
})
|
|
851
1134
|
.superRefine(requireNodeIdentity);
|
|
852
|
-
const
|
|
853
|
-
...
|
|
1135
|
+
const ScreenshotActionProperties = {
|
|
1136
|
+
...CreateActionProperties,
|
|
854
1137
|
};
|
|
855
|
-
export const
|
|
1138
|
+
export const ScreenshotActionSchema = z
|
|
856
1139
|
.object({
|
|
857
|
-
'@type': z.literal('
|
|
858
|
-
...
|
|
1140
|
+
'@type': z.literal('ScreenshotAction'),
|
|
1141
|
+
...ScreenshotActionProperties,
|
|
859
1142
|
})
|
|
860
1143
|
.superRefine(requireNodeIdentity);
|
|
861
|
-
const
|
|
862
|
-
...
|
|
863
|
-
color: z.lazy(() => z.string()).optional(),
|
|
1144
|
+
const ShareActionProperties = {
|
|
1145
|
+
...CommunicateActionProperties,
|
|
864
1146
|
};
|
|
865
|
-
export const
|
|
1147
|
+
export const ShareActionSchema = z
|
|
866
1148
|
.object({
|
|
867
|
-
'@type': z.literal('
|
|
868
|
-
...
|
|
1149
|
+
'@type': z.literal('ShareAction'),
|
|
1150
|
+
...ShareActionProperties,
|
|
869
1151
|
})
|
|
870
1152
|
.superRefine(requireNodeIdentity);
|
|
871
|
-
const
|
|
872
|
-
...
|
|
1153
|
+
const SleepActionProperties = {
|
|
1154
|
+
...ExperienceActionProperties,
|
|
873
1155
|
};
|
|
874
|
-
export const
|
|
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);
|
|
1180
|
+
const SoftwareAgentProperties = {
|
|
1181
|
+
...AgentProperties,
|
|
1182
|
+
};
|
|
1183
|
+
export const SoftwareAgentSchema = z
|
|
1184
|
+
.object({
|
|
1185
|
+
'@type': z.literal('SoftwareAgent'),
|
|
1186
|
+
...SoftwareAgentProperties,
|
|
1187
|
+
})
|
|
1188
|
+
.superRefine(requireNodeIdentity);
|
|
1189
|
+
const SoftwareApplicationProperties = {
|
|
1190
|
+
...SoftwareProperties,
|
|
1191
|
+
};
|
|
1192
|
+
export const SoftwareApplicationSchema = z
|
|
1193
|
+
.object({
|
|
1194
|
+
'@type': z.literal('SoftwareApplication'),
|
|
1195
|
+
...SoftwareApplicationProperties,
|
|
1196
|
+
})
|
|
1197
|
+
.superRefine(requireNodeIdentity);
|
|
1198
|
+
const SoftwareSourceCodeProperties = {
|
|
1199
|
+
...CreativeWorkProperties,
|
|
1200
|
+
};
|
|
1201
|
+
export const SoftwareSourceCodeSchema = z
|
|
1202
|
+
.object({
|
|
1203
|
+
'@type': z.literal('SoftwareSourceCode'),
|
|
1204
|
+
...SoftwareSourceCodeProperties,
|
|
1205
|
+
})
|
|
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);
|
|
1218
|
+
const TagProperties = {
|
|
1219
|
+
...EntityProperties,
|
|
1220
|
+
color: z.lazy(() => z.string()).optional(),
|
|
1221
|
+
};
|
|
1222
|
+
export const TagSchema = z
|
|
1223
|
+
.object({
|
|
1224
|
+
'@type': z.literal('Tag'),
|
|
1225
|
+
...TagProperties,
|
|
1226
|
+
})
|
|
1227
|
+
.superRefine(requireNodeIdentity);
|
|
1228
|
+
const TaskProperties = {
|
|
1229
|
+
...EntityProperties,
|
|
1230
|
+
};
|
|
1231
|
+
export const TaskSchema = z
|
|
875
1232
|
.object({
|
|
876
1233
|
'@type': z.literal('Task'),
|
|
877
1234
|
...TaskProperties,
|
|
@@ -905,6 +1262,15 @@ export const TravelActionSchema = z
|
|
|
905
1262
|
...TravelActionProperties,
|
|
906
1263
|
})
|
|
907
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);
|
|
908
1274
|
const VenueProperties = {
|
|
909
1275
|
...PlaceProperties,
|
|
910
1276
|
};
|
|
@@ -918,6 +1284,7 @@ const VideoObjectProperties = {
|
|
|
918
1284
|
...MediaObjectProperties,
|
|
919
1285
|
duration: z.lazy(() => z.string()).optional(),
|
|
920
1286
|
height: z.lazy(() => z.number()).optional(),
|
|
1287
|
+
transcript: z.lazy(() => z.string()).optional(),
|
|
921
1288
|
width: z.lazy(() => z.number()).optional(),
|
|
922
1289
|
};
|
|
923
1290
|
export const VideoObjectSchema = z
|
|
@@ -958,15 +1325,27 @@ export const VisitActionAndChildrenSchema = VisitActionSchema;
|
|
|
958
1325
|
export const ViewActionAndChildrenSchema = ViewActionSchema;
|
|
959
1326
|
export const VideoObjectAndChildrenSchema = VideoObjectSchema;
|
|
960
1327
|
export const VenueAndChildrenSchema = VenueSchema;
|
|
1328
|
+
export const UnlikeActionAndChildrenSchema = UnlikeActionSchema;
|
|
961
1329
|
export const TravelActionAndChildrenSchema = TravelActionSchema;
|
|
962
1330
|
export const ThreadAndChildrenSchema = ThreadSchema;
|
|
963
1331
|
export const TenureAndChildrenSchema = TenureSchema;
|
|
964
1332
|
export const TaskAndChildrenSchema = TaskSchema;
|
|
965
1333
|
export const TagAndChildrenSchema = TagSchema;
|
|
1334
|
+
export const StillImageAndChildrenSchema = StillImageSchema;
|
|
1335
|
+
export const SoftwareSourceCodeAndChildrenSchema = SoftwareSourceCodeSchema;
|
|
966
1336
|
export const SoftwareApplicationAndChildrenSchema = SoftwareApplicationSchema;
|
|
967
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;
|
|
1343
|
+
export const RevisionAndChildrenSchema = RevisionSchema;
|
|
968
1344
|
export const RespondActionAndChildrenSchema = RespondActionSchema;
|
|
1345
|
+
export const RepositoryAndChildrenSchema = RepositorySchema;
|
|
969
1346
|
export const RelationshipAndChildrenSchema = RelationshipSchema;
|
|
1347
|
+
export const RejectActionAndChildrenSchema = RejectActionSchema;
|
|
1348
|
+
export const RecordActionAndChildrenSchema = RecordActionSchema;
|
|
970
1349
|
export const RealmAndChildrenSchema = RealmSchema;
|
|
971
1350
|
export const ReadActionAndChildrenSchema = ReadActionSchema;
|
|
972
1351
|
export const QuoteActionAndChildrenSchema = QuoteActionSchema;
|
|
@@ -974,7 +1353,9 @@ export const QuotationAndChildrenSchema = QuotationSchema;
|
|
|
974
1353
|
export const QueryAndChildrenSchema = QuerySchema;
|
|
975
1354
|
export const PublishActionAndChildrenSchema = PublishActionSchema;
|
|
976
1355
|
export const ProjectAndChildrenSchema = ProjectSchema;
|
|
1356
|
+
export const ProductModelAndChildrenSchema = ProductModelSchema;
|
|
977
1357
|
export const PostAndChildrenSchema = PostSchema;
|
|
1358
|
+
export const PodcastSeriesAndChildrenSchema = PodcastSeriesSchema;
|
|
978
1359
|
export const PodcastEpisodeAndChildrenSchema = PodcastEpisodeSchema;
|
|
979
1360
|
export const PlanActionAndChildrenSchema = PlanActionSchema;
|
|
980
1361
|
export const PlaceAndChildrenSchema = z
|
|
@@ -989,8 +1370,26 @@ export const PlaceAndChildrenSchema = z
|
|
|
989
1370
|
}),
|
|
990
1371
|
])
|
|
991
1372
|
.superRefine(requireNodeIdentity);
|
|
1373
|
+
export const PhotographActionAndChildrenSchema = PhotographActionSchema;
|
|
992
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);
|
|
993
1389
|
export const PageSelectorAndChildrenSchema = PageSelectorSchema;
|
|
1390
|
+
export const OperatingSystemAndChildrenSchema = OperatingSystemSchema;
|
|
1391
|
+
export const NoteAndChildrenSchema = NoteSchema;
|
|
1392
|
+
export const NavigateActionAndChildrenSchema = NavigateActionSchema;
|
|
994
1393
|
export const MusicRecordingAndChildrenSchema = MusicRecordingSchema;
|
|
995
1394
|
export const MusicGroupAndChildrenSchema = MusicGroupSchema;
|
|
996
1395
|
export const PerformingGroupAndChildrenSchema = z
|
|
@@ -1022,11 +1421,40 @@ export const OrganizationAndChildrenSchema = z
|
|
|
1022
1421
|
])
|
|
1023
1422
|
.superRefine(requireNodeIdentity);
|
|
1024
1423
|
export const MusicAlbumAndChildrenSchema = MusicAlbumSchema;
|
|
1424
|
+
export const MovingImageAndChildrenSchema = MovingImageSchema;
|
|
1425
|
+
export const MoveActionAndChildrenSchema = z
|
|
1426
|
+
.discriminatedUnion('@type', [
|
|
1427
|
+
z.object({
|
|
1428
|
+
'@type': z.literal('MoveAction'),
|
|
1429
|
+
...MoveActionProperties,
|
|
1430
|
+
}),
|
|
1431
|
+
z.object({
|
|
1432
|
+
'@type': z.literal('NavigateAction'),
|
|
1433
|
+
...NavigateActionProperties,
|
|
1434
|
+
}),
|
|
1435
|
+
])
|
|
1436
|
+
.superRefine(requireNodeIdentity);
|
|
1437
|
+
export const MonetaryAmountAndChildrenSchema = MonetaryAmountSchema;
|
|
1025
1438
|
export const MessageActionAndChildrenSchema = MessageActionSchema;
|
|
1026
1439
|
export const MessageAndChildrenSchema = MessageSchema;
|
|
1027
1440
|
export const MembershipAndChildrenSchema = MembershipSchema;
|
|
1441
|
+
export const MeasureActionAndChildrenSchema = MeasureActionSchema;
|
|
1028
1442
|
export const MealAndChildrenSchema = MealSchema;
|
|
1029
1443
|
export const LocationAndChildrenSchema = LocationSchema;
|
|
1444
|
+
export const StructuredValueAndChildrenSchema = z.discriminatedUnion('@type', [
|
|
1445
|
+
z.object({
|
|
1446
|
+
'@type': z.literal('StructuredValue'),
|
|
1447
|
+
...StructuredValueProperties,
|
|
1448
|
+
}),
|
|
1449
|
+
z.object({
|
|
1450
|
+
'@type': z.literal('MonetaryAmount'),
|
|
1451
|
+
...MonetaryAmountProperties,
|
|
1452
|
+
}),
|
|
1453
|
+
z.object({
|
|
1454
|
+
'@type': z.literal('Location'),
|
|
1455
|
+
...LocationProperties,
|
|
1456
|
+
}),
|
|
1457
|
+
]);
|
|
1030
1458
|
export const ListenActionAndChildrenSchema = ListenActionSchema;
|
|
1031
1459
|
export const LikeActionAndChildrenSchema = LikeActionSchema;
|
|
1032
1460
|
export const ReactActionAndChildrenSchema = z
|
|
@@ -1035,6 +1463,10 @@ export const ReactActionAndChildrenSchema = z
|
|
|
1035
1463
|
'@type': z.literal('ReactAction'),
|
|
1036
1464
|
...ReactActionProperties,
|
|
1037
1465
|
}),
|
|
1466
|
+
z.object({
|
|
1467
|
+
'@type': z.literal('UnlikeAction'),
|
|
1468
|
+
...UnlikeActionProperties,
|
|
1469
|
+
}),
|
|
1038
1470
|
z.object({
|
|
1039
1471
|
'@type': z.literal('LikeAction'),
|
|
1040
1472
|
...LikeActionProperties,
|
|
@@ -1044,30 +1476,22 @@ export const ReactActionAndChildrenSchema = z
|
|
|
1044
1476
|
export const LeaveActionAndChildrenSchema = LeaveActionSchema;
|
|
1045
1477
|
export const JourneyAndChildrenSchema = JourneySchema;
|
|
1046
1478
|
export const JoinActionAndChildrenSchema = JoinActionSchema;
|
|
1047
|
-
export const IntervalAndChildrenSchema = IntervalSchema;
|
|
1048
|
-
export const StructuredValueAndChildrenSchema = z.discriminatedUnion('@type', [
|
|
1049
|
-
z.object({
|
|
1050
|
-
'@type': z.literal('StructuredValue'),
|
|
1051
|
-
...StructuredValueProperties,
|
|
1052
|
-
}),
|
|
1053
|
-
z.object({
|
|
1054
|
-
'@type': z.literal('Location'),
|
|
1055
|
-
...LocationProperties,
|
|
1056
|
-
}),
|
|
1057
|
-
z.object({
|
|
1058
|
-
'@type': z.literal('Interval'),
|
|
1059
|
-
...IntervalProperties,
|
|
1060
|
-
}),
|
|
1061
|
-
]);
|
|
1062
1479
|
export const ImageObjectAndChildrenSchema = ImageObjectSchema;
|
|
1063
1480
|
export const FollowActionAndChildrenSchema = FollowActionSchema;
|
|
1064
1481
|
export const FindActionAndChildrenSchema = FindActionSchema;
|
|
1482
|
+
export const FinancialTransactionAndChildrenSchema = FinancialTransactionSchema;
|
|
1483
|
+
export const FinancialPostingAndChildrenSchema = FinancialPostingSchema;
|
|
1484
|
+
export const FinancialAccountAndChildrenSchema = FinancialAccountSchema;
|
|
1065
1485
|
export const ExperienceActionAndChildrenSchema = z
|
|
1066
1486
|
.discriminatedUnion('@type', [
|
|
1067
1487
|
z.object({
|
|
1068
1488
|
'@type': z.literal('ExperienceAction'),
|
|
1069
1489
|
...ExperienceActionProperties,
|
|
1070
1490
|
}),
|
|
1491
|
+
z.object({
|
|
1492
|
+
'@type': z.literal('SleepAction'),
|
|
1493
|
+
...SleepActionProperties,
|
|
1494
|
+
}),
|
|
1071
1495
|
z.object({
|
|
1072
1496
|
'@type': z.literal('LeaveAction'),
|
|
1073
1497
|
...LeaveActionProperties,
|
|
@@ -1099,7 +1523,7 @@ export const SelectorAndChildrenSchema = z
|
|
|
1099
1523
|
.superRefine(requireNodeIdentity);
|
|
1100
1524
|
export const EnrollmentAndChildrenSchema = EnrollmentSchema;
|
|
1101
1525
|
export const EatActionAndChildrenSchema = EatActionSchema;
|
|
1102
|
-
export const
|
|
1526
|
+
export const DrinkActionAndChildrenSchema = DrinkActionSchema;
|
|
1103
1527
|
export const DocumentObjectAndChildrenSchema = DocumentObjectSchema;
|
|
1104
1528
|
export const DirectoryAndChildrenSchema = DirectorySchema;
|
|
1105
1529
|
export const DeviceSessionAndChildrenSchema = DeviceSessionSchema;
|
|
@@ -1144,8 +1568,8 @@ export const ConsumeActionAndChildrenSchema = z
|
|
|
1144
1568
|
...EatActionProperties,
|
|
1145
1569
|
}),
|
|
1146
1570
|
z.object({
|
|
1147
|
-
'@type': z.literal('
|
|
1148
|
-
...
|
|
1571
|
+
'@type': z.literal('DrinkAction'),
|
|
1572
|
+
...DrinkActionProperties,
|
|
1149
1573
|
}),
|
|
1150
1574
|
])
|
|
1151
1575
|
.superRefine(requireNodeIdentity);
|
|
@@ -1164,28 +1588,9 @@ export const ResponseAndChildrenSchema = z
|
|
|
1164
1588
|
])
|
|
1165
1589
|
.superRefine(requireNodeIdentity);
|
|
1166
1590
|
export const CommandAndChildrenSchema = CommandSchema;
|
|
1167
|
-
export const CollectionAndChildrenSchema = z
|
|
1168
|
-
.discriminatedUnion('@type', [
|
|
1169
|
-
z.object({
|
|
1170
|
-
'@type': z.literal('Collection'),
|
|
1171
|
-
...CollectionProperties,
|
|
1172
|
-
}),
|
|
1173
|
-
z.object({
|
|
1174
|
-
'@type': z.literal('Thread'),
|
|
1175
|
-
...ThreadProperties,
|
|
1176
|
-
}),
|
|
1177
|
-
z.object({
|
|
1178
|
-
'@type': z.literal('Project'),
|
|
1179
|
-
...ProjectProperties,
|
|
1180
|
-
}),
|
|
1181
|
-
z.object({
|
|
1182
|
-
'@type': z.literal('Directory'),
|
|
1183
|
-
...DirectoryProperties,
|
|
1184
|
-
}),
|
|
1185
|
-
])
|
|
1186
|
-
.superRefine(requireNodeIdentity);
|
|
1187
1591
|
export const CheckInActionAndChildrenSchema = CheckInActionSchema;
|
|
1188
1592
|
export const ChannelAndChildrenSchema = ChannelSchema;
|
|
1593
|
+
export const ChangesetAndChildrenSchema = ChangesetSchema;
|
|
1189
1594
|
export const CategoryAndChildrenSchema = CategorySchema;
|
|
1190
1595
|
export const DefinedTermAndChildrenSchema = z
|
|
1191
1596
|
.discriminatedUnion('@type', [
|
|
@@ -1205,6 +1610,22 @@ export const IntangibleAndChildrenSchema = z
|
|
|
1205
1610
|
'@type': z.literal('Intangible'),
|
|
1206
1611
|
...IntangibleProperties,
|
|
1207
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
|
+
}),
|
|
1208
1629
|
z.object({
|
|
1209
1630
|
'@type': z.literal('Selector'),
|
|
1210
1631
|
...SelectorProperties,
|
|
@@ -1239,6 +1660,14 @@ export const SessionAndChildrenSchema = z
|
|
|
1239
1660
|
'@type': z.literal('Tenure'),
|
|
1240
1661
|
...TenureProperties,
|
|
1241
1662
|
}),
|
|
1663
|
+
z.object({
|
|
1664
|
+
'@type': z.literal('SleepStage'),
|
|
1665
|
+
...SleepStageProperties,
|
|
1666
|
+
}),
|
|
1667
|
+
z.object({
|
|
1668
|
+
'@type': z.literal('SleepSession'),
|
|
1669
|
+
...SleepSessionProperties,
|
|
1670
|
+
}),
|
|
1242
1671
|
z.object({
|
|
1243
1672
|
'@type': z.literal('Relationship'),
|
|
1244
1673
|
...RelationshipProperties,
|
|
@@ -1247,6 +1676,10 @@ export const SessionAndChildrenSchema = z
|
|
|
1247
1676
|
'@type': z.literal('Membership'),
|
|
1248
1677
|
...MembershipProperties,
|
|
1249
1678
|
}),
|
|
1679
|
+
z.object({
|
|
1680
|
+
'@type': z.literal('Journey'),
|
|
1681
|
+
...JourneyProperties,
|
|
1682
|
+
}),
|
|
1250
1683
|
z.object({
|
|
1251
1684
|
'@type': z.literal('Enrollment'),
|
|
1252
1685
|
...EnrollmentProperties,
|
|
@@ -1268,6 +1701,10 @@ export const CommunicateActionAndChildrenSchema = z
|
|
|
1268
1701
|
'@type': z.literal('CommunicateAction'),
|
|
1269
1702
|
...CommunicateActionProperties,
|
|
1270
1703
|
}),
|
|
1704
|
+
z.object({
|
|
1705
|
+
'@type': z.literal('ShareAction'),
|
|
1706
|
+
...ShareActionProperties,
|
|
1707
|
+
}),
|
|
1271
1708
|
z.object({
|
|
1272
1709
|
'@type': z.literal('CheckInAction'),
|
|
1273
1710
|
...CheckInActionProperties,
|
|
@@ -1292,6 +1729,10 @@ export const InteractActionAndChildrenSchema = z
|
|
|
1292
1729
|
'@type': z.literal('CommunicateAction'),
|
|
1293
1730
|
...CommunicateActionProperties,
|
|
1294
1731
|
}),
|
|
1732
|
+
z.object({
|
|
1733
|
+
'@type': z.literal('ShareAction'),
|
|
1734
|
+
...ShareActionProperties,
|
|
1735
|
+
}),
|
|
1295
1736
|
z.object({
|
|
1296
1737
|
'@type': z.literal('CheckInAction'),
|
|
1297
1738
|
...CheckInActionProperties,
|
|
@@ -1302,6 +1743,31 @@ export const InteractActionAndChildrenSchema = z
|
|
|
1302
1743
|
}),
|
|
1303
1744
|
])
|
|
1304
1745
|
.superRefine(requireNodeIdentity);
|
|
1746
|
+
export const CalendarAndChildrenSchema = CalendarSchema;
|
|
1747
|
+
export const CollectionAndChildrenSchema = z
|
|
1748
|
+
.discriminatedUnion('@type', [
|
|
1749
|
+
z.object({
|
|
1750
|
+
'@type': z.literal('Collection'),
|
|
1751
|
+
...CollectionProperties,
|
|
1752
|
+
}),
|
|
1753
|
+
z.object({
|
|
1754
|
+
'@type': z.literal('Thread'),
|
|
1755
|
+
...ThreadProperties,
|
|
1756
|
+
}),
|
|
1757
|
+
z.object({
|
|
1758
|
+
'@type': z.literal('Project'),
|
|
1759
|
+
...ProjectProperties,
|
|
1760
|
+
}),
|
|
1761
|
+
z.object({
|
|
1762
|
+
'@type': z.literal('Directory'),
|
|
1763
|
+
...DirectoryProperties,
|
|
1764
|
+
}),
|
|
1765
|
+
z.object({
|
|
1766
|
+
'@type': z.literal('Calendar'),
|
|
1767
|
+
...CalendarProperties,
|
|
1768
|
+
}),
|
|
1769
|
+
])
|
|
1770
|
+
.superRefine(requireNodeIdentity);
|
|
1305
1771
|
export const BookmarkActionAndChildrenSchema = BookmarkActionSchema;
|
|
1306
1772
|
export const OrganizeActionAndChildrenSchema = z
|
|
1307
1773
|
.discriminatedUnion('@type', [
|
|
@@ -1355,6 +1821,10 @@ export const AssessActionAndChildrenSchema = z
|
|
|
1355
1821
|
'@type': z.literal('ReactAction'),
|
|
1356
1822
|
...ReactActionProperties,
|
|
1357
1823
|
}),
|
|
1824
|
+
z.object({
|
|
1825
|
+
'@type': z.literal('UnlikeAction'),
|
|
1826
|
+
...UnlikeActionProperties,
|
|
1827
|
+
}),
|
|
1358
1828
|
z.object({
|
|
1359
1829
|
'@type': z.literal('LikeAction'),
|
|
1360
1830
|
...LikeActionProperties,
|
|
@@ -1362,109 +1832,255 @@ export const AssessActionAndChildrenSchema = z
|
|
|
1362
1832
|
])
|
|
1363
1833
|
.superRefine(requireNodeIdentity);
|
|
1364
1834
|
export const ArticleAndChildrenSchema = ArticleSchema;
|
|
1365
|
-
export const
|
|
1835
|
+
export const AnnotateActionAndChildrenSchema = AnnotateActionSchema;
|
|
1836
|
+
export const CreateActionAndChildrenSchema = z
|
|
1366
1837
|
.discriminatedUnion('@type', [
|
|
1367
1838
|
z.object({
|
|
1368
|
-
'@type': z.literal('
|
|
1369
|
-
...
|
|
1839
|
+
'@type': z.literal('CreateAction'),
|
|
1840
|
+
...CreateActionProperties,
|
|
1370
1841
|
}),
|
|
1371
1842
|
z.object({
|
|
1372
|
-
'@type': z.literal('
|
|
1373
|
-
...
|
|
1843
|
+
'@type': z.literal('ScreenshotAction'),
|
|
1844
|
+
...ScreenshotActionProperties,
|
|
1374
1845
|
}),
|
|
1375
1846
|
z.object({
|
|
1376
|
-
'@type': z.literal('
|
|
1377
|
-
...
|
|
1847
|
+
'@type': z.literal('RecordAction'),
|
|
1848
|
+
...RecordActionProperties,
|
|
1378
1849
|
}),
|
|
1379
1850
|
z.object({
|
|
1380
|
-
'@type': z.literal('
|
|
1381
|
-
...
|
|
1851
|
+
'@type': z.literal('QuoteAction'),
|
|
1852
|
+
...QuoteActionProperties,
|
|
1382
1853
|
}),
|
|
1383
1854
|
z.object({
|
|
1384
|
-
'@type': z.literal('
|
|
1385
|
-
...
|
|
1855
|
+
'@type': z.literal('PublishAction'),
|
|
1856
|
+
...PublishActionProperties,
|
|
1386
1857
|
}),
|
|
1387
1858
|
z.object({
|
|
1388
|
-
'@type': z.literal('
|
|
1389
|
-
...
|
|
1859
|
+
'@type': z.literal('PhotographAction'),
|
|
1860
|
+
...PhotographActionProperties,
|
|
1390
1861
|
}),
|
|
1391
1862
|
z.object({
|
|
1392
|
-
'@type': z.literal('
|
|
1393
|
-
...
|
|
1863
|
+
'@type': z.literal('AnnotateAction'),
|
|
1864
|
+
...AnnotateActionProperties,
|
|
1394
1865
|
}),
|
|
1866
|
+
])
|
|
1867
|
+
.superRefine(requireNodeIdentity);
|
|
1868
|
+
export const AgentAndChildrenSchema = z
|
|
1869
|
+
.discriminatedUnion('@type', [
|
|
1395
1870
|
z.object({
|
|
1396
|
-
'@type': z.literal('
|
|
1397
|
-
...
|
|
1871
|
+
'@type': z.literal('Agent'),
|
|
1872
|
+
...AgentProperties,
|
|
1398
1873
|
}),
|
|
1399
1874
|
z.object({
|
|
1400
|
-
'@type': z.literal('
|
|
1401
|
-
...
|
|
1875
|
+
'@type': z.literal('SoftwareAgent'),
|
|
1876
|
+
...SoftwareAgentProperties,
|
|
1402
1877
|
}),
|
|
1403
1878
|
z.object({
|
|
1404
|
-
'@type': z.literal('
|
|
1405
|
-
...
|
|
1879
|
+
'@type': z.literal('Person'),
|
|
1880
|
+
...PersonProperties,
|
|
1406
1881
|
}),
|
|
1407
1882
|
z.object({
|
|
1408
|
-
'@type': z.literal('
|
|
1409
|
-
...
|
|
1883
|
+
'@type': z.literal('Organization'),
|
|
1884
|
+
...OrganizationProperties,
|
|
1410
1885
|
}),
|
|
1411
1886
|
z.object({
|
|
1412
|
-
'@type': z.literal('
|
|
1413
|
-
...
|
|
1887
|
+
'@type': z.literal('PerformingGroup'),
|
|
1888
|
+
...PerformingGroupProperties,
|
|
1414
1889
|
}),
|
|
1415
1890
|
z.object({
|
|
1416
|
-
'@type': z.literal('
|
|
1417
|
-
...
|
|
1891
|
+
'@type': z.literal('MusicGroup'),
|
|
1892
|
+
...MusicGroupProperties,
|
|
1418
1893
|
}),
|
|
1894
|
+
])
|
|
1895
|
+
.superRefine(requireNodeIdentity);
|
|
1896
|
+
export const AddActionAndChildrenSchema = AddActionSchema;
|
|
1897
|
+
export const UpdateActionAndChildrenSchema = z
|
|
1898
|
+
.discriminatedUnion('@type', [
|
|
1419
1899
|
z.object({
|
|
1420
|
-
'@type': z.literal('
|
|
1421
|
-
...
|
|
1900
|
+
'@type': z.literal('UpdateAction'),
|
|
1901
|
+
...UpdateActionProperties,
|
|
1422
1902
|
}),
|
|
1423
1903
|
z.object({
|
|
1424
|
-
'@type': z.literal('
|
|
1425
|
-
...
|
|
1904
|
+
'@type': z.literal('AddAction'),
|
|
1905
|
+
...AddActionProperties,
|
|
1426
1906
|
}),
|
|
1907
|
+
])
|
|
1908
|
+
.superRefine(requireNodeIdentity);
|
|
1909
|
+
export const AcceptActionAndChildrenSchema = AcceptActionSchema;
|
|
1910
|
+
export const ActionAndChildrenSchema = z
|
|
1911
|
+
.discriminatedUnion('@type', [
|
|
1427
1912
|
z.object({
|
|
1428
|
-
'@type': z.literal('
|
|
1429
|
-
...
|
|
1913
|
+
'@type': z.literal('Action'),
|
|
1914
|
+
...ActionProperties,
|
|
1430
1915
|
}),
|
|
1431
1916
|
z.object({
|
|
1432
|
-
'@type': z.literal('
|
|
1433
|
-
...
|
|
1917
|
+
'@type': z.literal('VisitAction'),
|
|
1918
|
+
...VisitActionProperties,
|
|
1434
1919
|
}),
|
|
1435
1920
|
z.object({
|
|
1436
|
-
'@type': z.literal('
|
|
1437
|
-
...
|
|
1921
|
+
'@type': z.literal('TravelAction'),
|
|
1922
|
+
...TravelActionProperties,
|
|
1438
1923
|
}),
|
|
1439
1924
|
z.object({
|
|
1440
|
-
'@type': z.literal('
|
|
1441
|
-
...
|
|
1925
|
+
'@type': z.literal('RejectAction'),
|
|
1926
|
+
...RejectActionProperties,
|
|
1442
1927
|
}),
|
|
1443
1928
|
z.object({
|
|
1444
|
-
'@type': z.literal('
|
|
1445
|
-
...
|
|
1929
|
+
'@type': z.literal('PlanAction'),
|
|
1930
|
+
...PlanActionProperties,
|
|
1446
1931
|
}),
|
|
1447
1932
|
z.object({
|
|
1448
|
-
'@type': z.literal('
|
|
1449
|
-
...
|
|
1933
|
+
'@type': z.literal('TradeAction'),
|
|
1934
|
+
...TradeActionProperties,
|
|
1450
1935
|
}),
|
|
1451
1936
|
z.object({
|
|
1452
|
-
'@type': z.literal('
|
|
1453
|
-
...
|
|
1937
|
+
'@type': z.literal('PayAction'),
|
|
1938
|
+
...PayActionProperties,
|
|
1454
1939
|
}),
|
|
1455
1940
|
z.object({
|
|
1456
|
-
'@type': z.literal('
|
|
1457
|
-
...
|
|
1941
|
+
'@type': z.literal('MoveAction'),
|
|
1942
|
+
...MoveActionProperties,
|
|
1943
|
+
}),
|
|
1944
|
+
z.object({
|
|
1945
|
+
'@type': z.literal('NavigateAction'),
|
|
1946
|
+
...NavigateActionProperties,
|
|
1947
|
+
}),
|
|
1948
|
+
z.object({
|
|
1949
|
+
'@type': z.literal('MessageAction'),
|
|
1950
|
+
...MessageActionProperties,
|
|
1951
|
+
}),
|
|
1952
|
+
z.object({
|
|
1953
|
+
'@type': z.literal('MeasureAction'),
|
|
1954
|
+
...MeasureActionProperties,
|
|
1955
|
+
}),
|
|
1956
|
+
z.object({
|
|
1957
|
+
'@type': z.literal('FindAction'),
|
|
1958
|
+
...FindActionProperties,
|
|
1959
|
+
}),
|
|
1960
|
+
z.object({
|
|
1961
|
+
'@type': z.literal('ExperienceAction'),
|
|
1962
|
+
...ExperienceActionProperties,
|
|
1963
|
+
}),
|
|
1964
|
+
z.object({
|
|
1965
|
+
'@type': z.literal('SleepAction'),
|
|
1966
|
+
...SleepActionProperties,
|
|
1967
|
+
}),
|
|
1968
|
+
z.object({
|
|
1969
|
+
'@type': z.literal('LeaveAction'),
|
|
1970
|
+
...LeaveActionProperties,
|
|
1971
|
+
}),
|
|
1972
|
+
z.object({
|
|
1973
|
+
'@type': z.literal('JoinAction'),
|
|
1974
|
+
...JoinActionProperties,
|
|
1975
|
+
}),
|
|
1976
|
+
z.object({
|
|
1977
|
+
'@type': z.literal('ExecuteAction'),
|
|
1978
|
+
...ExecuteActionProperties,
|
|
1979
|
+
}),
|
|
1980
|
+
z.object({
|
|
1981
|
+
'@type': z.literal('DeleteAction'),
|
|
1982
|
+
...DeleteActionProperties,
|
|
1983
|
+
}),
|
|
1984
|
+
z.object({
|
|
1985
|
+
'@type': z.literal('ConsumeAction'),
|
|
1986
|
+
...ConsumeActionProperties,
|
|
1987
|
+
}),
|
|
1988
|
+
z.object({
|
|
1989
|
+
'@type': z.literal('WatchAction'),
|
|
1990
|
+
...WatchActionProperties,
|
|
1991
|
+
}),
|
|
1992
|
+
z.object({
|
|
1993
|
+
'@type': z.literal('ViewAction'),
|
|
1994
|
+
...ViewActionProperties,
|
|
1995
|
+
}),
|
|
1996
|
+
z.object({
|
|
1997
|
+
'@type': z.literal('ReadAction'),
|
|
1998
|
+
...ReadActionProperties,
|
|
1999
|
+
}),
|
|
2000
|
+
z.object({
|
|
2001
|
+
'@type': z.literal('ListenAction'),
|
|
2002
|
+
...ListenActionProperties,
|
|
2003
|
+
}),
|
|
2004
|
+
z.object({
|
|
2005
|
+
'@type': z.literal('EatAction'),
|
|
2006
|
+
...EatActionProperties,
|
|
2007
|
+
}),
|
|
2008
|
+
z.object({
|
|
2009
|
+
'@type': z.literal('DrinkAction'),
|
|
2010
|
+
...DrinkActionProperties,
|
|
2011
|
+
}),
|
|
2012
|
+
z.object({
|
|
2013
|
+
'@type': z.literal('CompleteAction'),
|
|
2014
|
+
...CompleteActionProperties,
|
|
2015
|
+
}),
|
|
2016
|
+
z.object({
|
|
2017
|
+
'@type': z.literal('CancelAction'),
|
|
2018
|
+
...CancelActionProperties,
|
|
2019
|
+
}),
|
|
2020
|
+
z.object({
|
|
2021
|
+
'@type': z.literal('InteractAction'),
|
|
2022
|
+
...InteractActionProperties,
|
|
2023
|
+
}),
|
|
2024
|
+
z.object({
|
|
2025
|
+
'@type': z.literal('FollowAction'),
|
|
2026
|
+
...FollowActionProperties,
|
|
2027
|
+
}),
|
|
2028
|
+
z.object({
|
|
2029
|
+
'@type': z.literal('CommunicateAction'),
|
|
2030
|
+
...CommunicateActionProperties,
|
|
2031
|
+
}),
|
|
2032
|
+
z.object({
|
|
2033
|
+
'@type': z.literal('ShareAction'),
|
|
2034
|
+
...ShareActionProperties,
|
|
2035
|
+
}),
|
|
2036
|
+
z.object({
|
|
2037
|
+
'@type': z.literal('CheckInAction'),
|
|
2038
|
+
...CheckInActionProperties,
|
|
2039
|
+
}),
|
|
2040
|
+
z.object({
|
|
2041
|
+
'@type': z.literal('CallAction'),
|
|
2042
|
+
...CallActionProperties,
|
|
2043
|
+
}),
|
|
2044
|
+
z.object({
|
|
2045
|
+
'@type': z.literal('OrganizeAction'),
|
|
2046
|
+
...OrganizeActionProperties,
|
|
2047
|
+
}),
|
|
2048
|
+
z.object({
|
|
2049
|
+
'@type': z.literal('BookmarkAction'),
|
|
2050
|
+
...BookmarkActionProperties,
|
|
2051
|
+
}),
|
|
2052
|
+
z.object({
|
|
2053
|
+
'@type': z.literal('AssessAction'),
|
|
2054
|
+
...AssessActionProperties,
|
|
2055
|
+
}),
|
|
2056
|
+
z.object({
|
|
2057
|
+
'@type': z.literal('RespondAction'),
|
|
2058
|
+
...RespondActionProperties,
|
|
2059
|
+
}),
|
|
2060
|
+
z.object({
|
|
2061
|
+
'@type': z.literal('ReactAction'),
|
|
2062
|
+
...ReactActionProperties,
|
|
2063
|
+
}),
|
|
2064
|
+
z.object({
|
|
2065
|
+
'@type': z.literal('UnlikeAction'),
|
|
2066
|
+
...UnlikeActionProperties,
|
|
2067
|
+
}),
|
|
2068
|
+
z.object({
|
|
2069
|
+
'@type': z.literal('LikeAction'),
|
|
2070
|
+
...LikeActionProperties,
|
|
1458
2071
|
}),
|
|
1459
|
-
])
|
|
1460
|
-
.superRefine(requireNodeIdentity);
|
|
1461
|
-
export const AnnotateActionAndChildrenSchema = AnnotateActionSchema;
|
|
1462
|
-
export const CreateActionAndChildrenSchema = z
|
|
1463
|
-
.discriminatedUnion('@type', [
|
|
1464
2072
|
z.object({
|
|
1465
2073
|
'@type': z.literal('CreateAction'),
|
|
1466
2074
|
...CreateActionProperties,
|
|
1467
2075
|
}),
|
|
2076
|
+
z.object({
|
|
2077
|
+
'@type': z.literal('ScreenshotAction'),
|
|
2078
|
+
...ScreenshotActionProperties,
|
|
2079
|
+
}),
|
|
2080
|
+
z.object({
|
|
2081
|
+
'@type': z.literal('RecordAction'),
|
|
2082
|
+
...RecordActionProperties,
|
|
2083
|
+
}),
|
|
1468
2084
|
z.object({
|
|
1469
2085
|
'@type': z.literal('QuoteAction'),
|
|
1470
2086
|
...QuoteActionProperties,
|
|
@@ -1473,37 +2089,190 @@ export const CreateActionAndChildrenSchema = z
|
|
|
1473
2089
|
'@type': z.literal('PublishAction'),
|
|
1474
2090
|
...PublishActionProperties,
|
|
1475
2091
|
}),
|
|
2092
|
+
z.object({
|
|
2093
|
+
'@type': z.literal('PhotographAction'),
|
|
2094
|
+
...PhotographActionProperties,
|
|
2095
|
+
}),
|
|
1476
2096
|
z.object({
|
|
1477
2097
|
'@type': z.literal('AnnotateAction'),
|
|
1478
2098
|
...AnnotateActionProperties,
|
|
1479
2099
|
}),
|
|
2100
|
+
z.object({
|
|
2101
|
+
'@type': z.literal('UpdateAction'),
|
|
2102
|
+
...UpdateActionProperties,
|
|
2103
|
+
}),
|
|
2104
|
+
z.object({
|
|
2105
|
+
'@type': z.literal('AddAction'),
|
|
2106
|
+
...AddActionProperties,
|
|
2107
|
+
}),
|
|
2108
|
+
z.object({
|
|
2109
|
+
'@type': z.literal('AcceptAction'),
|
|
2110
|
+
...AcceptActionProperties,
|
|
2111
|
+
}),
|
|
1480
2112
|
])
|
|
1481
2113
|
.superRefine(requireNodeIdentity);
|
|
1482
|
-
export const
|
|
2114
|
+
export const AIModelAndChildrenSchema = AIModelSchema;
|
|
2115
|
+
export const SoftwareAndChildrenSchema = z
|
|
1483
2116
|
.discriminatedUnion('@type', [
|
|
1484
2117
|
z.object({
|
|
1485
|
-
'@type': z.literal('
|
|
1486
|
-
...
|
|
2118
|
+
'@type': z.literal('Software'),
|
|
2119
|
+
...SoftwareProperties,
|
|
1487
2120
|
}),
|
|
1488
2121
|
z.object({
|
|
1489
|
-
'@type': z.literal('
|
|
1490
|
-
...
|
|
2122
|
+
'@type': z.literal('SoftwareApplication'),
|
|
2123
|
+
...SoftwareApplicationProperties,
|
|
1491
2124
|
}),
|
|
1492
2125
|
z.object({
|
|
1493
|
-
'@type': z.literal('
|
|
1494
|
-
...
|
|
2126
|
+
'@type': z.literal('OperatingSystem'),
|
|
2127
|
+
...OperatingSystemProperties,
|
|
1495
2128
|
}),
|
|
1496
2129
|
z.object({
|
|
1497
|
-
'@type': z.literal('
|
|
1498
|
-
...
|
|
2130
|
+
'@type': z.literal('AIModel'),
|
|
2131
|
+
...AIModelProperties,
|
|
1499
2132
|
}),
|
|
2133
|
+
])
|
|
2134
|
+
.superRefine(requireNodeIdentity);
|
|
2135
|
+
export const CreativeWorkAndChildrenSchema = z
|
|
2136
|
+
.discriminatedUnion('@type', [
|
|
1500
2137
|
z.object({
|
|
1501
|
-
'@type': z.literal('
|
|
1502
|
-
...
|
|
2138
|
+
'@type': z.literal('CreativeWork'),
|
|
2139
|
+
...CreativeWorkProperties,
|
|
1503
2140
|
}),
|
|
1504
2141
|
z.object({
|
|
1505
|
-
'@type': z.literal('
|
|
1506
|
-
...
|
|
2142
|
+
'@type': z.literal('StillImage'),
|
|
2143
|
+
...StillImageProperties,
|
|
2144
|
+
}),
|
|
2145
|
+
z.object({
|
|
2146
|
+
'@type': z.literal('SoftwareSourceCode'),
|
|
2147
|
+
...SoftwareSourceCodeProperties,
|
|
2148
|
+
}),
|
|
2149
|
+
z.object({
|
|
2150
|
+
'@type': z.literal('Revision'),
|
|
2151
|
+
...RevisionProperties,
|
|
2152
|
+
}),
|
|
2153
|
+
z.object({
|
|
2154
|
+
'@type': z.literal('Repository'),
|
|
2155
|
+
...RepositoryProperties,
|
|
2156
|
+
}),
|
|
2157
|
+
z.object({
|
|
2158
|
+
'@type': z.literal('Quotation'),
|
|
2159
|
+
...QuotationProperties,
|
|
2160
|
+
}),
|
|
2161
|
+
z.object({
|
|
2162
|
+
'@type': z.literal('Query'),
|
|
2163
|
+
...QueryProperties,
|
|
2164
|
+
}),
|
|
2165
|
+
z.object({
|
|
2166
|
+
'@type': z.literal('Post'),
|
|
2167
|
+
...PostProperties,
|
|
2168
|
+
}),
|
|
2169
|
+
z.object({
|
|
2170
|
+
'@type': z.literal('PodcastSeries'),
|
|
2171
|
+
...PodcastSeriesProperties,
|
|
2172
|
+
}),
|
|
2173
|
+
z.object({
|
|
2174
|
+
'@type': z.literal('PodcastEpisode'),
|
|
2175
|
+
...PodcastEpisodeProperties,
|
|
2176
|
+
}),
|
|
2177
|
+
z.object({
|
|
2178
|
+
'@type': z.literal('Note'),
|
|
2179
|
+
...NoteProperties,
|
|
2180
|
+
}),
|
|
2181
|
+
z.object({
|
|
2182
|
+
'@type': z.literal('MusicRecording'),
|
|
2183
|
+
...MusicRecordingProperties,
|
|
2184
|
+
}),
|
|
2185
|
+
z.object({
|
|
2186
|
+
'@type': z.literal('MusicAlbum'),
|
|
2187
|
+
...MusicAlbumProperties,
|
|
2188
|
+
}),
|
|
2189
|
+
z.object({
|
|
2190
|
+
'@type': z.literal('MovingImage'),
|
|
2191
|
+
...MovingImageProperties,
|
|
2192
|
+
}),
|
|
2193
|
+
z.object({
|
|
2194
|
+
'@type': z.literal('Message'),
|
|
2195
|
+
...MessageProperties,
|
|
2196
|
+
}),
|
|
2197
|
+
z.object({
|
|
2198
|
+
'@type': z.literal('Response'),
|
|
2199
|
+
...ResponseProperties,
|
|
2200
|
+
}),
|
|
2201
|
+
z.object({
|
|
2202
|
+
'@type': z.literal('Comment'),
|
|
2203
|
+
...CommentProperties,
|
|
2204
|
+
}),
|
|
2205
|
+
z.object({
|
|
2206
|
+
'@type': z.literal('Channel'),
|
|
2207
|
+
...ChannelProperties,
|
|
2208
|
+
}),
|
|
2209
|
+
z.object({
|
|
2210
|
+
'@type': z.literal('Changeset'),
|
|
2211
|
+
...ChangesetProperties,
|
|
2212
|
+
}),
|
|
2213
|
+
z.object({
|
|
2214
|
+
'@type': z.literal('Collection'),
|
|
2215
|
+
...CollectionProperties,
|
|
2216
|
+
}),
|
|
2217
|
+
z.object({
|
|
2218
|
+
'@type': z.literal('Thread'),
|
|
2219
|
+
...ThreadProperties,
|
|
2220
|
+
}),
|
|
2221
|
+
z.object({
|
|
2222
|
+
'@type': z.literal('Project'),
|
|
2223
|
+
...ProjectProperties,
|
|
2224
|
+
}),
|
|
2225
|
+
z.object({
|
|
2226
|
+
'@type': z.literal('Directory'),
|
|
2227
|
+
...DirectoryProperties,
|
|
2228
|
+
}),
|
|
2229
|
+
z.object({
|
|
2230
|
+
'@type': z.literal('Calendar'),
|
|
2231
|
+
...CalendarProperties,
|
|
2232
|
+
}),
|
|
2233
|
+
z.object({
|
|
2234
|
+
'@type': z.literal('Book'),
|
|
2235
|
+
...BookProperties,
|
|
2236
|
+
}),
|
|
2237
|
+
z.object({
|
|
2238
|
+
'@type': z.literal('MediaObject'),
|
|
2239
|
+
...MediaObjectProperties,
|
|
2240
|
+
}),
|
|
2241
|
+
z.object({
|
|
2242
|
+
'@type': z.literal('VideoObject'),
|
|
2243
|
+
...VideoObjectProperties,
|
|
2244
|
+
}),
|
|
2245
|
+
z.object({
|
|
2246
|
+
'@type': z.literal('ImageObject'),
|
|
2247
|
+
...ImageObjectProperties,
|
|
2248
|
+
}),
|
|
2249
|
+
z.object({
|
|
2250
|
+
'@type': z.literal('DocumentObject'),
|
|
2251
|
+
...DocumentObjectProperties,
|
|
2252
|
+
}),
|
|
2253
|
+
z.object({
|
|
2254
|
+
'@type': z.literal('AudioObject'),
|
|
2255
|
+
...AudioObjectProperties,
|
|
2256
|
+
}),
|
|
2257
|
+
z.object({
|
|
2258
|
+
'@type': z.literal('Article'),
|
|
2259
|
+
...ArticleProperties,
|
|
2260
|
+
}),
|
|
2261
|
+
z.object({
|
|
2262
|
+
'@type': z.literal('Software'),
|
|
2263
|
+
...SoftwareProperties,
|
|
2264
|
+
}),
|
|
2265
|
+
z.object({
|
|
2266
|
+
'@type': z.literal('SoftwareApplication'),
|
|
2267
|
+
...SoftwareApplicationProperties,
|
|
2268
|
+
}),
|
|
2269
|
+
z.object({
|
|
2270
|
+
'@type': z.literal('OperatingSystem'),
|
|
2271
|
+
...OperatingSystemProperties,
|
|
2272
|
+
}),
|
|
2273
|
+
z.object({
|
|
2274
|
+
'@type': z.literal('AIModel'),
|
|
2275
|
+
...AIModelProperties,
|
|
1507
2276
|
}),
|
|
1508
2277
|
])
|
|
1509
2278
|
.superRefine(requireNodeIdentity);
|
|
@@ -1525,6 +2294,10 @@ export const EntityAndChildrenSchema = z
|
|
|
1525
2294
|
'@type': z.literal('Realm'),
|
|
1526
2295
|
...RealmProperties,
|
|
1527
2296
|
}),
|
|
2297
|
+
z.object({
|
|
2298
|
+
'@type': z.literal('ProductModel'),
|
|
2299
|
+
...ProductModelProperties,
|
|
2300
|
+
}),
|
|
1528
2301
|
z.object({
|
|
1529
2302
|
'@type': z.literal('Place'),
|
|
1530
2303
|
...PlaceProperties,
|
|
@@ -1537,10 +2310,6 @@ export const EntityAndChildrenSchema = z
|
|
|
1537
2310
|
'@type': z.literal('Meal'),
|
|
1538
2311
|
...MealProperties,
|
|
1539
2312
|
}),
|
|
1540
|
-
z.object({
|
|
1541
|
-
'@type': z.literal('Journey'),
|
|
1542
|
-
...JourneyProperties,
|
|
1543
|
-
}),
|
|
1544
2313
|
z.object({
|
|
1545
2314
|
'@type': z.literal('Event'),
|
|
1546
2315
|
...EventProperties,
|
|
@@ -1561,6 +2330,22 @@ export const EntityAndChildrenSchema = z
|
|
|
1561
2330
|
'@type': z.literal('Intangible'),
|
|
1562
2331
|
...IntangibleProperties,
|
|
1563
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
|
+
}),
|
|
1564
2349
|
z.object({
|
|
1565
2350
|
'@type': z.literal('Selector'),
|
|
1566
2351
|
...SelectorProperties,
|
|
@@ -1589,6 +2374,14 @@ export const EntityAndChildrenSchema = z
|
|
|
1589
2374
|
'@type': z.literal('Tenure'),
|
|
1590
2375
|
...TenureProperties,
|
|
1591
2376
|
}),
|
|
2377
|
+
z.object({
|
|
2378
|
+
'@type': z.literal('SleepStage'),
|
|
2379
|
+
...SleepStageProperties,
|
|
2380
|
+
}),
|
|
2381
|
+
z.object({
|
|
2382
|
+
'@type': z.literal('SleepSession'),
|
|
2383
|
+
...SleepSessionProperties,
|
|
2384
|
+
}),
|
|
1592
2385
|
z.object({
|
|
1593
2386
|
'@type': z.literal('Relationship'),
|
|
1594
2387
|
...RelationshipProperties,
|
|
@@ -1597,6 +2390,10 @@ export const EntityAndChildrenSchema = z
|
|
|
1597
2390
|
'@type': z.literal('Membership'),
|
|
1598
2391
|
...MembershipProperties,
|
|
1599
2392
|
}),
|
|
2393
|
+
z.object({
|
|
2394
|
+
'@type': z.literal('Journey'),
|
|
2395
|
+
...JourneyProperties,
|
|
2396
|
+
}),
|
|
1600
2397
|
z.object({
|
|
1601
2398
|
'@type': z.literal('Enrollment'),
|
|
1602
2399
|
...EnrollmentProperties,
|
|
@@ -1609,13 +2406,49 @@ export const EntityAndChildrenSchema = z
|
|
|
1609
2406
|
'@type': z.literal('CallSession'),
|
|
1610
2407
|
...CallSessionProperties,
|
|
1611
2408
|
}),
|
|
2409
|
+
z.object({
|
|
2410
|
+
'@type': z.literal('Agent'),
|
|
2411
|
+
...AgentProperties,
|
|
2412
|
+
}),
|
|
2413
|
+
z.object({
|
|
2414
|
+
'@type': z.literal('SoftwareAgent'),
|
|
2415
|
+
...SoftwareAgentProperties,
|
|
2416
|
+
}),
|
|
2417
|
+
z.object({
|
|
2418
|
+
'@type': z.literal('Person'),
|
|
2419
|
+
...PersonProperties,
|
|
2420
|
+
}),
|
|
2421
|
+
z.object({
|
|
2422
|
+
'@type': z.literal('Organization'),
|
|
2423
|
+
...OrganizationProperties,
|
|
2424
|
+
}),
|
|
2425
|
+
z.object({
|
|
2426
|
+
'@type': z.literal('PerformingGroup'),
|
|
2427
|
+
...PerformingGroupProperties,
|
|
2428
|
+
}),
|
|
2429
|
+
z.object({
|
|
2430
|
+
'@type': z.literal('MusicGroup'),
|
|
2431
|
+
...MusicGroupProperties,
|
|
2432
|
+
}),
|
|
1612
2433
|
z.object({
|
|
1613
2434
|
'@type': z.literal('CreativeWork'),
|
|
1614
2435
|
...CreativeWorkProperties,
|
|
1615
2436
|
}),
|
|
1616
2437
|
z.object({
|
|
1617
|
-
'@type': z.literal('
|
|
1618
|
-
...
|
|
2438
|
+
'@type': z.literal('StillImage'),
|
|
2439
|
+
...StillImageProperties,
|
|
2440
|
+
}),
|
|
2441
|
+
z.object({
|
|
2442
|
+
'@type': z.literal('SoftwareSourceCode'),
|
|
2443
|
+
...SoftwareSourceCodeProperties,
|
|
2444
|
+
}),
|
|
2445
|
+
z.object({
|
|
2446
|
+
'@type': z.literal('Revision'),
|
|
2447
|
+
...RevisionProperties,
|
|
2448
|
+
}),
|
|
2449
|
+
z.object({
|
|
2450
|
+
'@type': z.literal('Repository'),
|
|
2451
|
+
...RepositoryProperties,
|
|
1619
2452
|
}),
|
|
1620
2453
|
z.object({
|
|
1621
2454
|
'@type': z.literal('Quotation'),
|
|
@@ -1629,10 +2462,18 @@ export const EntityAndChildrenSchema = z
|
|
|
1629
2462
|
'@type': z.literal('Post'),
|
|
1630
2463
|
...PostProperties,
|
|
1631
2464
|
}),
|
|
2465
|
+
z.object({
|
|
2466
|
+
'@type': z.literal('PodcastSeries'),
|
|
2467
|
+
...PodcastSeriesProperties,
|
|
2468
|
+
}),
|
|
1632
2469
|
z.object({
|
|
1633
2470
|
'@type': z.literal('PodcastEpisode'),
|
|
1634
2471
|
...PodcastEpisodeProperties,
|
|
1635
2472
|
}),
|
|
2473
|
+
z.object({
|
|
2474
|
+
'@type': z.literal('Note'),
|
|
2475
|
+
...NoteProperties,
|
|
2476
|
+
}),
|
|
1636
2477
|
z.object({
|
|
1637
2478
|
'@type': z.literal('MusicRecording'),
|
|
1638
2479
|
...MusicRecordingProperties,
|
|
@@ -1641,6 +2482,10 @@ export const EntityAndChildrenSchema = z
|
|
|
1641
2482
|
'@type': z.literal('MusicAlbum'),
|
|
1642
2483
|
...MusicAlbumProperties,
|
|
1643
2484
|
}),
|
|
2485
|
+
z.object({
|
|
2486
|
+
'@type': z.literal('MovingImage'),
|
|
2487
|
+
...MovingImageProperties,
|
|
2488
|
+
}),
|
|
1644
2489
|
z.object({
|
|
1645
2490
|
'@type': z.literal('Message'),
|
|
1646
2491
|
...MessageProperties,
|
|
@@ -1653,6 +2498,14 @@ export const EntityAndChildrenSchema = z
|
|
|
1653
2498
|
'@type': z.literal('Comment'),
|
|
1654
2499
|
...CommentProperties,
|
|
1655
2500
|
}),
|
|
2501
|
+
z.object({
|
|
2502
|
+
'@type': z.literal('Channel'),
|
|
2503
|
+
...ChannelProperties,
|
|
2504
|
+
}),
|
|
2505
|
+
z.object({
|
|
2506
|
+
'@type': z.literal('Changeset'),
|
|
2507
|
+
...ChangesetProperties,
|
|
2508
|
+
}),
|
|
1656
2509
|
z.object({
|
|
1657
2510
|
'@type': z.literal('Collection'),
|
|
1658
2511
|
...CollectionProperties,
|
|
@@ -1670,8 +2523,8 @@ export const EntityAndChildrenSchema = z
|
|
|
1670
2523
|
...DirectoryProperties,
|
|
1671
2524
|
}),
|
|
1672
2525
|
z.object({
|
|
1673
|
-
'@type': z.literal('
|
|
1674
|
-
...
|
|
2526
|
+
'@type': z.literal('Calendar'),
|
|
2527
|
+
...CalendarProperties,
|
|
1675
2528
|
}),
|
|
1676
2529
|
z.object({
|
|
1677
2530
|
'@type': z.literal('Book'),
|
|
@@ -1702,46 +2555,29 @@ export const EntityAndChildrenSchema = z
|
|
|
1702
2555
|
...ArticleProperties,
|
|
1703
2556
|
}),
|
|
1704
2557
|
z.object({
|
|
1705
|
-
'@type': z.literal('
|
|
1706
|
-
...
|
|
1707
|
-
}),
|
|
1708
|
-
z.object({
|
|
1709
|
-
'@type': z.literal('SoftwareAgent'),
|
|
1710
|
-
...SoftwareAgentProperties,
|
|
1711
|
-
}),
|
|
1712
|
-
z.object({
|
|
1713
|
-
'@type': z.literal('Person'),
|
|
1714
|
-
...PersonProperties,
|
|
2558
|
+
'@type': z.literal('Software'),
|
|
2559
|
+
...SoftwareProperties,
|
|
1715
2560
|
}),
|
|
1716
2561
|
z.object({
|
|
1717
|
-
'@type': z.literal('
|
|
1718
|
-
...
|
|
2562
|
+
'@type': z.literal('SoftwareApplication'),
|
|
2563
|
+
...SoftwareApplicationProperties,
|
|
1719
2564
|
}),
|
|
1720
2565
|
z.object({
|
|
1721
|
-
'@type': z.literal('
|
|
1722
|
-
...
|
|
2566
|
+
'@type': z.literal('OperatingSystem'),
|
|
2567
|
+
...OperatingSystemProperties,
|
|
1723
2568
|
}),
|
|
1724
2569
|
z.object({
|
|
1725
|
-
'@type': z.literal('
|
|
1726
|
-
...
|
|
2570
|
+
'@type': z.literal('AIModel'),
|
|
2571
|
+
...AIModelProperties,
|
|
1727
2572
|
}),
|
|
1728
2573
|
])
|
|
1729
2574
|
.superRefine(requireNodeIdentity);
|
|
1730
|
-
export const
|
|
1731
|
-
export const UpdateActionAndChildrenSchema = z
|
|
2575
|
+
export const BaseAndChildrenSchema = z
|
|
1732
2576
|
.discriminatedUnion('@type', [
|
|
1733
2577
|
z.object({
|
|
1734
|
-
'@type': z.literal('
|
|
1735
|
-
...
|
|
1736
|
-
}),
|
|
1737
|
-
z.object({
|
|
1738
|
-
'@type': z.literal('AddAction'),
|
|
1739
|
-
...AddActionProperties,
|
|
2578
|
+
'@type': z.literal('Base'),
|
|
2579
|
+
...BaseProperties,
|
|
1740
2580
|
}),
|
|
1741
|
-
])
|
|
1742
|
-
.superRefine(requireNodeIdentity);
|
|
1743
|
-
export const ActionAndChildrenSchema = z
|
|
1744
|
-
.discriminatedUnion('@type', [
|
|
1745
2581
|
z.object({
|
|
1746
2582
|
'@type': z.literal('Action'),
|
|
1747
2583
|
...ActionProperties,
|
|
@@ -1751,17 +2587,41 @@ export const ActionAndChildrenSchema = z
|
|
|
1751
2587
|
...VisitActionProperties,
|
|
1752
2588
|
}),
|
|
1753
2589
|
z.object({
|
|
1754
|
-
'@type': z.literal('TravelAction'),
|
|
1755
|
-
...TravelActionProperties,
|
|
2590
|
+
'@type': z.literal('TravelAction'),
|
|
2591
|
+
...TravelActionProperties,
|
|
2592
|
+
}),
|
|
2593
|
+
z.object({
|
|
2594
|
+
'@type': z.literal('RejectAction'),
|
|
2595
|
+
...RejectActionProperties,
|
|
2596
|
+
}),
|
|
2597
|
+
z.object({
|
|
2598
|
+
'@type': z.literal('PlanAction'),
|
|
2599
|
+
...PlanActionProperties,
|
|
2600
|
+
}),
|
|
2601
|
+
z.object({
|
|
2602
|
+
'@type': z.literal('TradeAction'),
|
|
2603
|
+
...TradeActionProperties,
|
|
2604
|
+
}),
|
|
2605
|
+
z.object({
|
|
2606
|
+
'@type': z.literal('PayAction'),
|
|
2607
|
+
...PayActionProperties,
|
|
2608
|
+
}),
|
|
2609
|
+
z.object({
|
|
2610
|
+
'@type': z.literal('MoveAction'),
|
|
2611
|
+
...MoveActionProperties,
|
|
1756
2612
|
}),
|
|
1757
2613
|
z.object({
|
|
1758
|
-
'@type': z.literal('
|
|
1759
|
-
...
|
|
2614
|
+
'@type': z.literal('NavigateAction'),
|
|
2615
|
+
...NavigateActionProperties,
|
|
1760
2616
|
}),
|
|
1761
2617
|
z.object({
|
|
1762
2618
|
'@type': z.literal('MessageAction'),
|
|
1763
2619
|
...MessageActionProperties,
|
|
1764
2620
|
}),
|
|
2621
|
+
z.object({
|
|
2622
|
+
'@type': z.literal('MeasureAction'),
|
|
2623
|
+
...MeasureActionProperties,
|
|
2624
|
+
}),
|
|
1765
2625
|
z.object({
|
|
1766
2626
|
'@type': z.literal('FindAction'),
|
|
1767
2627
|
...FindActionProperties,
|
|
@@ -1770,6 +2630,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1770
2630
|
'@type': z.literal('ExperienceAction'),
|
|
1771
2631
|
...ExperienceActionProperties,
|
|
1772
2632
|
}),
|
|
2633
|
+
z.object({
|
|
2634
|
+
'@type': z.literal('SleepAction'),
|
|
2635
|
+
...SleepActionProperties,
|
|
2636
|
+
}),
|
|
1773
2637
|
z.object({
|
|
1774
2638
|
'@type': z.literal('LeaveAction'),
|
|
1775
2639
|
...LeaveActionProperties,
|
|
@@ -1811,8 +2675,8 @@ export const ActionAndChildrenSchema = z
|
|
|
1811
2675
|
...EatActionProperties,
|
|
1812
2676
|
}),
|
|
1813
2677
|
z.object({
|
|
1814
|
-
'@type': z.literal('
|
|
1815
|
-
...
|
|
2678
|
+
'@type': z.literal('DrinkAction'),
|
|
2679
|
+
...DrinkActionProperties,
|
|
1816
2680
|
}),
|
|
1817
2681
|
z.object({
|
|
1818
2682
|
'@type': z.literal('CompleteAction'),
|
|
@@ -1834,6 +2698,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1834
2698
|
'@type': z.literal('CommunicateAction'),
|
|
1835
2699
|
...CommunicateActionProperties,
|
|
1836
2700
|
}),
|
|
2701
|
+
z.object({
|
|
2702
|
+
'@type': z.literal('ShareAction'),
|
|
2703
|
+
...ShareActionProperties,
|
|
2704
|
+
}),
|
|
1837
2705
|
z.object({
|
|
1838
2706
|
'@type': z.literal('CheckInAction'),
|
|
1839
2707
|
...CheckInActionProperties,
|
|
@@ -1862,6 +2730,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1862
2730
|
'@type': z.literal('ReactAction'),
|
|
1863
2731
|
...ReactActionProperties,
|
|
1864
2732
|
}),
|
|
2733
|
+
z.object({
|
|
2734
|
+
'@type': z.literal('UnlikeAction'),
|
|
2735
|
+
...UnlikeActionProperties,
|
|
2736
|
+
}),
|
|
1865
2737
|
z.object({
|
|
1866
2738
|
'@type': z.literal('LikeAction'),
|
|
1867
2739
|
...LikeActionProperties,
|
|
@@ -1870,6 +2742,14 @@ export const ActionAndChildrenSchema = z
|
|
|
1870
2742
|
'@type': z.literal('CreateAction'),
|
|
1871
2743
|
...CreateActionProperties,
|
|
1872
2744
|
}),
|
|
2745
|
+
z.object({
|
|
2746
|
+
'@type': z.literal('ScreenshotAction'),
|
|
2747
|
+
...ScreenshotActionProperties,
|
|
2748
|
+
}),
|
|
2749
|
+
z.object({
|
|
2750
|
+
'@type': z.literal('RecordAction'),
|
|
2751
|
+
...RecordActionProperties,
|
|
2752
|
+
}),
|
|
1873
2753
|
z.object({
|
|
1874
2754
|
'@type': z.literal('QuoteAction'),
|
|
1875
2755
|
...QuoteActionProperties,
|
|
@@ -1878,6 +2758,10 @@ export const ActionAndChildrenSchema = z
|
|
|
1878
2758
|
'@type': z.literal('PublishAction'),
|
|
1879
2759
|
...PublishActionProperties,
|
|
1880
2760
|
}),
|
|
2761
|
+
z.object({
|
|
2762
|
+
'@type': z.literal('PhotographAction'),
|
|
2763
|
+
...PhotographActionProperties,
|
|
2764
|
+
}),
|
|
1881
2765
|
z.object({
|
|
1882
2766
|
'@type': z.literal('AnnotateAction'),
|
|
1883
2767
|
...AnnotateActionProperties,
|
|
@@ -1890,13 +2774,9 @@ export const ActionAndChildrenSchema = z
|
|
|
1890
2774
|
'@type': z.literal('AddAction'),
|
|
1891
2775
|
...AddActionProperties,
|
|
1892
2776
|
}),
|
|
1893
|
-
])
|
|
1894
|
-
.superRefine(requireNodeIdentity);
|
|
1895
|
-
export const BaseAndChildrenSchema = z
|
|
1896
|
-
.discriminatedUnion('@type', [
|
|
1897
2777
|
z.object({
|
|
1898
|
-
'@type': z.literal('
|
|
1899
|
-
...
|
|
2778
|
+
'@type': z.literal('AcceptAction'),
|
|
2779
|
+
...AcceptActionProperties,
|
|
1900
2780
|
}),
|
|
1901
2781
|
z.object({
|
|
1902
2782
|
'@type': z.literal('Entity'),
|
|
@@ -1914,6 +2794,10 @@ export const BaseAndChildrenSchema = z
|
|
|
1914
2794
|
'@type': z.literal('Realm'),
|
|
1915
2795
|
...RealmProperties,
|
|
1916
2796
|
}),
|
|
2797
|
+
z.object({
|
|
2798
|
+
'@type': z.literal('ProductModel'),
|
|
2799
|
+
...ProductModelProperties,
|
|
2800
|
+
}),
|
|
1917
2801
|
z.object({
|
|
1918
2802
|
'@type': z.literal('Place'),
|
|
1919
2803
|
...PlaceProperties,
|
|
@@ -1926,10 +2810,6 @@ export const BaseAndChildrenSchema = z
|
|
|
1926
2810
|
'@type': z.literal('Meal'),
|
|
1927
2811
|
...MealProperties,
|
|
1928
2812
|
}),
|
|
1929
|
-
z.object({
|
|
1930
|
-
'@type': z.literal('Journey'),
|
|
1931
|
-
...JourneyProperties,
|
|
1932
|
-
}),
|
|
1933
2813
|
z.object({
|
|
1934
2814
|
'@type': z.literal('Event'),
|
|
1935
2815
|
...EventProperties,
|
|
@@ -1950,6 +2830,22 @@ export const BaseAndChildrenSchema = z
|
|
|
1950
2830
|
'@type': z.literal('Intangible'),
|
|
1951
2831
|
...IntangibleProperties,
|
|
1952
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
|
+
}),
|
|
1953
2849
|
z.object({
|
|
1954
2850
|
'@type': z.literal('Selector'),
|
|
1955
2851
|
...SelectorProperties,
|
|
@@ -1978,6 +2874,14 @@ export const BaseAndChildrenSchema = z
|
|
|
1978
2874
|
'@type': z.literal('Tenure'),
|
|
1979
2875
|
...TenureProperties,
|
|
1980
2876
|
}),
|
|
2877
|
+
z.object({
|
|
2878
|
+
'@type': z.literal('SleepStage'),
|
|
2879
|
+
...SleepStageProperties,
|
|
2880
|
+
}),
|
|
2881
|
+
z.object({
|
|
2882
|
+
'@type': z.literal('SleepSession'),
|
|
2883
|
+
...SleepSessionProperties,
|
|
2884
|
+
}),
|
|
1981
2885
|
z.object({
|
|
1982
2886
|
'@type': z.literal('Relationship'),
|
|
1983
2887
|
...RelationshipProperties,
|
|
@@ -1986,6 +2890,10 @@ export const BaseAndChildrenSchema = z
|
|
|
1986
2890
|
'@type': z.literal('Membership'),
|
|
1987
2891
|
...MembershipProperties,
|
|
1988
2892
|
}),
|
|
2893
|
+
z.object({
|
|
2894
|
+
'@type': z.literal('Journey'),
|
|
2895
|
+
...JourneyProperties,
|
|
2896
|
+
}),
|
|
1989
2897
|
z.object({
|
|
1990
2898
|
'@type': z.literal('Enrollment'),
|
|
1991
2899
|
...EnrollmentProperties,
|
|
@@ -1998,13 +2906,49 @@ export const BaseAndChildrenSchema = z
|
|
|
1998
2906
|
'@type': z.literal('CallSession'),
|
|
1999
2907
|
...CallSessionProperties,
|
|
2000
2908
|
}),
|
|
2909
|
+
z.object({
|
|
2910
|
+
'@type': z.literal('Agent'),
|
|
2911
|
+
...AgentProperties,
|
|
2912
|
+
}),
|
|
2913
|
+
z.object({
|
|
2914
|
+
'@type': z.literal('SoftwareAgent'),
|
|
2915
|
+
...SoftwareAgentProperties,
|
|
2916
|
+
}),
|
|
2917
|
+
z.object({
|
|
2918
|
+
'@type': z.literal('Person'),
|
|
2919
|
+
...PersonProperties,
|
|
2920
|
+
}),
|
|
2921
|
+
z.object({
|
|
2922
|
+
'@type': z.literal('Organization'),
|
|
2923
|
+
...OrganizationProperties,
|
|
2924
|
+
}),
|
|
2925
|
+
z.object({
|
|
2926
|
+
'@type': z.literal('PerformingGroup'),
|
|
2927
|
+
...PerformingGroupProperties,
|
|
2928
|
+
}),
|
|
2929
|
+
z.object({
|
|
2930
|
+
'@type': z.literal('MusicGroup'),
|
|
2931
|
+
...MusicGroupProperties,
|
|
2932
|
+
}),
|
|
2001
2933
|
z.object({
|
|
2002
2934
|
'@type': z.literal('CreativeWork'),
|
|
2003
2935
|
...CreativeWorkProperties,
|
|
2004
2936
|
}),
|
|
2005
2937
|
z.object({
|
|
2006
|
-
'@type': z.literal('
|
|
2007
|
-
...
|
|
2938
|
+
'@type': z.literal('StillImage'),
|
|
2939
|
+
...StillImageProperties,
|
|
2940
|
+
}),
|
|
2941
|
+
z.object({
|
|
2942
|
+
'@type': z.literal('SoftwareSourceCode'),
|
|
2943
|
+
...SoftwareSourceCodeProperties,
|
|
2944
|
+
}),
|
|
2945
|
+
z.object({
|
|
2946
|
+
'@type': z.literal('Revision'),
|
|
2947
|
+
...RevisionProperties,
|
|
2948
|
+
}),
|
|
2949
|
+
z.object({
|
|
2950
|
+
'@type': z.literal('Repository'),
|
|
2951
|
+
...RepositoryProperties,
|
|
2008
2952
|
}),
|
|
2009
2953
|
z.object({
|
|
2010
2954
|
'@type': z.literal('Quotation'),
|
|
@@ -2018,10 +2962,18 @@ export const BaseAndChildrenSchema = z
|
|
|
2018
2962
|
'@type': z.literal('Post'),
|
|
2019
2963
|
...PostProperties,
|
|
2020
2964
|
}),
|
|
2965
|
+
z.object({
|
|
2966
|
+
'@type': z.literal('PodcastSeries'),
|
|
2967
|
+
...PodcastSeriesProperties,
|
|
2968
|
+
}),
|
|
2021
2969
|
z.object({
|
|
2022
2970
|
'@type': z.literal('PodcastEpisode'),
|
|
2023
2971
|
...PodcastEpisodeProperties,
|
|
2024
2972
|
}),
|
|
2973
|
+
z.object({
|
|
2974
|
+
'@type': z.literal('Note'),
|
|
2975
|
+
...NoteProperties,
|
|
2976
|
+
}),
|
|
2025
2977
|
z.object({
|
|
2026
2978
|
'@type': z.literal('MusicRecording'),
|
|
2027
2979
|
...MusicRecordingProperties,
|
|
@@ -2030,6 +2982,10 @@ export const BaseAndChildrenSchema = z
|
|
|
2030
2982
|
'@type': z.literal('MusicAlbum'),
|
|
2031
2983
|
...MusicAlbumProperties,
|
|
2032
2984
|
}),
|
|
2985
|
+
z.object({
|
|
2986
|
+
'@type': z.literal('MovingImage'),
|
|
2987
|
+
...MovingImageProperties,
|
|
2988
|
+
}),
|
|
2033
2989
|
z.object({
|
|
2034
2990
|
'@type': z.literal('Message'),
|
|
2035
2991
|
...MessageProperties,
|
|
@@ -2042,6 +2998,14 @@ export const BaseAndChildrenSchema = z
|
|
|
2042
2998
|
'@type': z.literal('Comment'),
|
|
2043
2999
|
...CommentProperties,
|
|
2044
3000
|
}),
|
|
3001
|
+
z.object({
|
|
3002
|
+
'@type': z.literal('Channel'),
|
|
3003
|
+
...ChannelProperties,
|
|
3004
|
+
}),
|
|
3005
|
+
z.object({
|
|
3006
|
+
'@type': z.literal('Changeset'),
|
|
3007
|
+
...ChangesetProperties,
|
|
3008
|
+
}),
|
|
2045
3009
|
z.object({
|
|
2046
3010
|
'@type': z.literal('Collection'),
|
|
2047
3011
|
...CollectionProperties,
|
|
@@ -2059,8 +3023,8 @@ export const BaseAndChildrenSchema = z
|
|
|
2059
3023
|
...DirectoryProperties,
|
|
2060
3024
|
}),
|
|
2061
3025
|
z.object({
|
|
2062
|
-
'@type': z.literal('
|
|
2063
|
-
...
|
|
3026
|
+
'@type': z.literal('Calendar'),
|
|
3027
|
+
...CalendarProperties,
|
|
2064
3028
|
}),
|
|
2065
3029
|
z.object({
|
|
2066
3030
|
'@type': z.literal('Book'),
|
|
@@ -2091,176 +3055,20 @@ export const BaseAndChildrenSchema = z
|
|
|
2091
3055
|
...ArticleProperties,
|
|
2092
3056
|
}),
|
|
2093
3057
|
z.object({
|
|
2094
|
-
'@type': z.literal('
|
|
2095
|
-
...
|
|
2096
|
-
}),
|
|
2097
|
-
z.object({
|
|
2098
|
-
'@type': z.literal('SoftwareAgent'),
|
|
2099
|
-
...SoftwareAgentProperties,
|
|
2100
|
-
}),
|
|
2101
|
-
z.object({
|
|
2102
|
-
'@type': z.literal('Person'),
|
|
2103
|
-
...PersonProperties,
|
|
2104
|
-
}),
|
|
2105
|
-
z.object({
|
|
2106
|
-
'@type': z.literal('Organization'),
|
|
2107
|
-
...OrganizationProperties,
|
|
2108
|
-
}),
|
|
2109
|
-
z.object({
|
|
2110
|
-
'@type': z.literal('PerformingGroup'),
|
|
2111
|
-
...PerformingGroupProperties,
|
|
2112
|
-
}),
|
|
2113
|
-
z.object({
|
|
2114
|
-
'@type': z.literal('MusicGroup'),
|
|
2115
|
-
...MusicGroupProperties,
|
|
2116
|
-
}),
|
|
2117
|
-
z.object({
|
|
2118
|
-
'@type': z.literal('Action'),
|
|
2119
|
-
...ActionProperties,
|
|
2120
|
-
}),
|
|
2121
|
-
z.object({
|
|
2122
|
-
'@type': z.literal('VisitAction'),
|
|
2123
|
-
...VisitActionProperties,
|
|
2124
|
-
}),
|
|
2125
|
-
z.object({
|
|
2126
|
-
'@type': z.literal('TravelAction'),
|
|
2127
|
-
...TravelActionProperties,
|
|
2128
|
-
}),
|
|
2129
|
-
z.object({
|
|
2130
|
-
'@type': z.literal('PlanAction'),
|
|
2131
|
-
...PlanActionProperties,
|
|
2132
|
-
}),
|
|
2133
|
-
z.object({
|
|
2134
|
-
'@type': z.literal('MessageAction'),
|
|
2135
|
-
...MessageActionProperties,
|
|
2136
|
-
}),
|
|
2137
|
-
z.object({
|
|
2138
|
-
'@type': z.literal('FindAction'),
|
|
2139
|
-
...FindActionProperties,
|
|
2140
|
-
}),
|
|
2141
|
-
z.object({
|
|
2142
|
-
'@type': z.literal('ExperienceAction'),
|
|
2143
|
-
...ExperienceActionProperties,
|
|
2144
|
-
}),
|
|
2145
|
-
z.object({
|
|
2146
|
-
'@type': z.literal('LeaveAction'),
|
|
2147
|
-
...LeaveActionProperties,
|
|
2148
|
-
}),
|
|
2149
|
-
z.object({
|
|
2150
|
-
'@type': z.literal('JoinAction'),
|
|
2151
|
-
...JoinActionProperties,
|
|
2152
|
-
}),
|
|
2153
|
-
z.object({
|
|
2154
|
-
'@type': z.literal('ExecuteAction'),
|
|
2155
|
-
...ExecuteActionProperties,
|
|
2156
|
-
}),
|
|
2157
|
-
z.object({
|
|
2158
|
-
'@type': z.literal('DeleteAction'),
|
|
2159
|
-
...DeleteActionProperties,
|
|
2160
|
-
}),
|
|
2161
|
-
z.object({
|
|
2162
|
-
'@type': z.literal('ConsumeAction'),
|
|
2163
|
-
...ConsumeActionProperties,
|
|
2164
|
-
}),
|
|
2165
|
-
z.object({
|
|
2166
|
-
'@type': z.literal('WatchAction'),
|
|
2167
|
-
...WatchActionProperties,
|
|
2168
|
-
}),
|
|
2169
|
-
z.object({
|
|
2170
|
-
'@type': z.literal('ViewAction'),
|
|
2171
|
-
...ViewActionProperties,
|
|
2172
|
-
}),
|
|
2173
|
-
z.object({
|
|
2174
|
-
'@type': z.literal('ReadAction'),
|
|
2175
|
-
...ReadActionProperties,
|
|
2176
|
-
}),
|
|
2177
|
-
z.object({
|
|
2178
|
-
'@type': z.literal('ListenAction'),
|
|
2179
|
-
...ListenActionProperties,
|
|
2180
|
-
}),
|
|
2181
|
-
z.object({
|
|
2182
|
-
'@type': z.literal('EatAction'),
|
|
2183
|
-
...EatActionProperties,
|
|
2184
|
-
}),
|
|
2185
|
-
z.object({
|
|
2186
|
-
'@type': z.literal('DrankAction'),
|
|
2187
|
-
...DrankActionProperties,
|
|
2188
|
-
}),
|
|
2189
|
-
z.object({
|
|
2190
|
-
'@type': z.literal('CompleteAction'),
|
|
2191
|
-
...CompleteActionProperties,
|
|
2192
|
-
}),
|
|
2193
|
-
z.object({
|
|
2194
|
-
'@type': z.literal('CancelAction'),
|
|
2195
|
-
...CancelActionProperties,
|
|
3058
|
+
'@type': z.literal('Software'),
|
|
3059
|
+
...SoftwareProperties,
|
|
2196
3060
|
}),
|
|
2197
3061
|
z.object({
|
|
2198
|
-
'@type': z.literal('
|
|
2199
|
-
...
|
|
2200
|
-
}),
|
|
2201
|
-
z.object({
|
|
2202
|
-
'@type': z.literal('FollowAction'),
|
|
2203
|
-
...FollowActionProperties,
|
|
2204
|
-
}),
|
|
2205
|
-
z.object({
|
|
2206
|
-
'@type': z.literal('CommunicateAction'),
|
|
2207
|
-
...CommunicateActionProperties,
|
|
2208
|
-
}),
|
|
2209
|
-
z.object({
|
|
2210
|
-
'@type': z.literal('CheckInAction'),
|
|
2211
|
-
...CheckInActionProperties,
|
|
2212
|
-
}),
|
|
2213
|
-
z.object({
|
|
2214
|
-
'@type': z.literal('CallAction'),
|
|
2215
|
-
...CallActionProperties,
|
|
2216
|
-
}),
|
|
2217
|
-
z.object({
|
|
2218
|
-
'@type': z.literal('OrganizeAction'),
|
|
2219
|
-
...OrganizeActionProperties,
|
|
2220
|
-
}),
|
|
2221
|
-
z.object({
|
|
2222
|
-
'@type': z.literal('BookmarkAction'),
|
|
2223
|
-
...BookmarkActionProperties,
|
|
2224
|
-
}),
|
|
2225
|
-
z.object({
|
|
2226
|
-
'@type': z.literal('AssessAction'),
|
|
2227
|
-
...AssessActionProperties,
|
|
2228
|
-
}),
|
|
2229
|
-
z.object({
|
|
2230
|
-
'@type': z.literal('RespondAction'),
|
|
2231
|
-
...RespondActionProperties,
|
|
2232
|
-
}),
|
|
2233
|
-
z.object({
|
|
2234
|
-
'@type': z.literal('ReactAction'),
|
|
2235
|
-
...ReactActionProperties,
|
|
2236
|
-
}),
|
|
2237
|
-
z.object({
|
|
2238
|
-
'@type': z.literal('LikeAction'),
|
|
2239
|
-
...LikeActionProperties,
|
|
2240
|
-
}),
|
|
2241
|
-
z.object({
|
|
2242
|
-
'@type': z.literal('CreateAction'),
|
|
2243
|
-
...CreateActionProperties,
|
|
2244
|
-
}),
|
|
2245
|
-
z.object({
|
|
2246
|
-
'@type': z.literal('QuoteAction'),
|
|
2247
|
-
...QuoteActionProperties,
|
|
2248
|
-
}),
|
|
2249
|
-
z.object({
|
|
2250
|
-
'@type': z.literal('PublishAction'),
|
|
2251
|
-
...PublishActionProperties,
|
|
2252
|
-
}),
|
|
2253
|
-
z.object({
|
|
2254
|
-
'@type': z.literal('AnnotateAction'),
|
|
2255
|
-
...AnnotateActionProperties,
|
|
3062
|
+
'@type': z.literal('SoftwareApplication'),
|
|
3063
|
+
...SoftwareApplicationProperties,
|
|
2256
3064
|
}),
|
|
2257
3065
|
z.object({
|
|
2258
|
-
'@type': z.literal('
|
|
2259
|
-
...
|
|
3066
|
+
'@type': z.literal('OperatingSystem'),
|
|
3067
|
+
...OperatingSystemProperties,
|
|
2260
3068
|
}),
|
|
2261
3069
|
z.object({
|
|
2262
|
-
'@type': z.literal('
|
|
2263
|
-
...
|
|
3070
|
+
'@type': z.literal('AIModel'),
|
|
3071
|
+
...AIModelProperties,
|
|
2264
3072
|
}),
|
|
2265
3073
|
])
|
|
2266
3074
|
.superRefine(requireNodeIdentity);
|