@chronicle.app/schema 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const SCHEMA_VERSION: "0.1.0";
1
+ export declare const SCHEMA_VERSION: "0.2.0";
2
2
  import { z } from 'zod';
3
3
  export type KeyField = string | {
4
4
  key: string;
@@ -10,94 +10,381 @@ export interface Base {
10
10
  sourceId?: string;
11
11
  '@key'?: KeyField[];
12
12
  '@id'?: string;
13
+ '@asserts'?: string[];
14
+ '@assertedAt'?: Date | string;
13
15
  }
14
16
  export type BaseAndChildren = Base | ActionAndChildren | EntityAndChildren;
15
17
  export declare const BaseSchema: z.ZodType<Base>;
16
18
  export interface Action extends Omit<Base, '@type'> {
17
19
  '@type': 'Action';
18
20
  agent?: AgentAndChildren;
21
+ endTime?: Date | string;
19
22
  instrument?: EntityAndChildren;
23
+ location?: LocationAndChildren | PlaceAndChildren;
20
24
  object?: EntityAndChildren;
21
- timestamp?: Date;
25
+ result?: EntityAndChildren;
26
+ startTime?: Date | string;
27
+ target?: EntityAndChildren;
28
+ timestamp?: Date | string;
22
29
  }
23
- export type ActionAndChildren = Action | CancelActionAndChildren | CompleteActionAndChildren | DeleteActionAndChildren | ExecuteActionAndChildren | MessageActionAndChildren | PlanActionAndChildren | UpdateActionAndChildren;
30
+ export type ActionAndChildren = Action | AssessActionAndChildren | CancelActionAndChildren | CompleteActionAndChildren | ConsumeActionAndChildren | CreateActionAndChildren | DeleteActionAndChildren | ExecuteActionAndChildren | ExperienceActionAndChildren | FindActionAndChildren | InteractActionAndChildren | MessageActionAndChildren | OrganizeActionAndChildren | PlanActionAndChildren | TravelActionAndChildren | UpdateActionAndChildren | VisitActionAndChildren;
24
31
  export declare const ActionSchema: z.ZodType<Action>;
32
+ export interface UpdateAction extends Omit<Action, '@type'> {
33
+ '@type': 'UpdateAction';
34
+ }
35
+ export type UpdateActionAndChildren = UpdateAction | AddActionAndChildren;
36
+ export declare const UpdateActionSchema: z.ZodType<UpdateAction>;
37
+ export interface AddAction extends Omit<UpdateAction, '@type'> {
38
+ '@type': 'AddAction';
39
+ }
40
+ export type AddActionAndChildren = AddAction;
41
+ export declare const AddActionSchema: z.ZodType<AddAction>;
25
42
  export interface Entity extends Omit<Base, '@type'> {
26
43
  '@type': 'Entity';
27
44
  about?: EntityAndChildren[];
28
45
  body?: string;
46
+ category?: string[];
47
+ contains?: MediaObjectAndChildren[];
29
48
  description?: string;
49
+ emblem?: ImageObjectAndChildren;
30
50
  handle?: string;
31
51
  inRealm?: RealmAndChildren;
32
52
  isPartOf?: EntityAndChildren[];
53
+ location?: LocationAndChildren | PlaceAndChildren;
33
54
  name?: string;
55
+ references?: EntityAndChildren[];
34
56
  sameAs?: (EntityAndChildren | string)[];
57
+ tags?: string[];
35
58
  url?: string;
36
59
  }
37
- export type EntityAndChildren = Entity | AgentAndChildren | CollectionAndChildren | CommandAndChildren | MediaObjectAndChildren | MessageAndChildren | RealmAndChildren | SoftwareApplicationAndChildren | TagAndChildren | TaskAndChildren;
60
+ export type EntityAndChildren = Entity | AgentAndChildren | CommandAndChildren | CreativeWorkAndChildren | EventAndChildren | IntangibleAndChildren | JourneyAndChildren | MealAndChildren | PhysicalObjectAndChildren | PlaceAndChildren | RealmAndChildren | SessionAndChildren | TagAndChildren | TaskAndChildren;
38
61
  export declare const EntitySchema: z.ZodType<Entity>;
39
62
  export interface Agent extends Omit<Entity, '@type'> {
40
63
  '@type': 'Agent';
41
64
  memberOf?: EntityAndChildren[];
42
65
  }
43
- export type AgentAndChildren = Agent | PersonAndChildren | SoftwareAgentAndChildren;
66
+ export type AgentAndChildren = Agent | OrganizationAndChildren | PersonAndChildren | SoftwareAgentAndChildren;
44
67
  export declare const AgentSchema: z.ZodType<Agent>;
45
- export interface MediaObject extends Omit<Entity, '@type'> {
68
+ export interface CreateAction extends Omit<Action, '@type'> {
69
+ '@type': 'CreateAction';
70
+ }
71
+ export type CreateActionAndChildren = CreateAction | AnnotateActionAndChildren | PublishActionAndChildren | QuoteActionAndChildren;
72
+ export declare const CreateActionSchema: z.ZodType<CreateAction>;
73
+ export interface AnnotateAction extends Omit<CreateAction, '@type'> {
74
+ '@type': 'AnnotateAction';
75
+ }
76
+ export type AnnotateActionAndChildren = AnnotateAction;
77
+ export declare const AnnotateActionSchema: z.ZodType<AnnotateAction>;
78
+ export interface CreativeWork extends Omit<Entity, '@type'> {
79
+ '@type': 'CreativeWork';
80
+ author?: AgentAndChildren[];
81
+ creator?: AgentAndChildren[];
82
+ datePublished?: Date | string;
83
+ genre?: string[];
84
+ publisher?: OrganizationAndChildren[];
85
+ references?: EntityAndChildren[];
86
+ sourceFormat?: string;
87
+ visibility?: string;
88
+ }
89
+ export type CreativeWorkAndChildren = CreativeWork | ArticleAndChildren | BookAndChildren | ChannelAndChildren | CollectionAndChildren | MediaObjectAndChildren | MessageAndChildren | MusicAlbumAndChildren | MusicRecordingAndChildren | PodcastEpisodeAndChildren | PostAndChildren | QueryAndChildren | QuotationAndChildren | ResponseAndChildren | SoftwareApplicationAndChildren;
90
+ export declare const CreativeWorkSchema: z.ZodType<CreativeWork>;
91
+ export interface Article extends Omit<CreativeWork, '@type'> {
92
+ '@type': 'Article';
93
+ }
94
+ export type ArticleAndChildren = Article;
95
+ export declare const ArticleSchema: z.ZodType<Article>;
96
+ export interface AssessAction extends Omit<Action, '@type'> {
97
+ '@type': 'AssessAction';
98
+ }
99
+ export type AssessActionAndChildren = AssessAction | ReactActionAndChildren | RespondActionAndChildren;
100
+ export declare const AssessActionSchema: z.ZodType<AssessAction>;
101
+ export interface MediaObject extends Omit<CreativeWork, '@type'> {
46
102
  '@type': 'MediaObject';
47
103
  contentPath?: string;
48
104
  mimeType?: string;
105
+ snapshotOf?: EntityAndChildren[];
49
106
  }
50
107
  export type MediaObjectAndChildren = MediaObject | AudioObjectAndChildren | DocumentObjectAndChildren | ImageObjectAndChildren | VideoObjectAndChildren;
51
108
  export declare const MediaObjectSchema: z.ZodType<MediaObject>;
52
109
  export interface AudioObject extends Omit<MediaObject, '@type'> {
53
110
  '@type': 'AudioObject';
111
+ artist?: MusicGroupAndChildren[];
112
+ duration?: string;
113
+ genre?: string[];
54
114
  }
55
115
  export type AudioObjectAndChildren = AudioObject;
56
116
  export declare const AudioObjectSchema: z.ZodType<AudioObject>;
117
+ export interface Book extends Omit<CreativeWork, '@type'> {
118
+ '@type': 'Book';
119
+ pageCount?: number;
120
+ }
121
+ export type BookAndChildren = Book;
122
+ export declare const BookSchema: z.ZodType<Book>;
123
+ export interface OrganizeAction extends Omit<Action, '@type'> {
124
+ '@type': 'OrganizeAction';
125
+ }
126
+ export type OrganizeActionAndChildren = OrganizeAction | BookmarkActionAndChildren;
127
+ export declare const OrganizeActionSchema: z.ZodType<OrganizeAction>;
128
+ export interface BookmarkAction extends Omit<OrganizeAction, '@type'> {
129
+ '@type': 'BookmarkAction';
130
+ }
131
+ export type BookmarkActionAndChildren = BookmarkAction;
132
+ export declare const BookmarkActionSchema: z.ZodType<BookmarkAction>;
133
+ export interface InteractAction extends Omit<Action, '@type'> {
134
+ '@type': 'InteractAction';
135
+ }
136
+ export type InteractActionAndChildren = InteractAction | CommunicateActionAndChildren | FollowActionAndChildren;
137
+ export declare const InteractActionSchema: z.ZodType<InteractAction>;
138
+ export interface CommunicateAction extends Omit<InteractAction, '@type'> {
139
+ '@type': 'CommunicateAction';
140
+ }
141
+ export type CommunicateActionAndChildren = CommunicateAction | CallActionAndChildren | CheckInActionAndChildren;
142
+ export declare const CommunicateActionSchema: z.ZodType<CommunicateAction>;
143
+ export interface CallAction extends Omit<CommunicateAction, '@type'> {
144
+ '@type': 'CallAction';
145
+ }
146
+ export type CallActionAndChildren = CallAction;
147
+ export declare const CallActionSchema: z.ZodType<CallAction>;
148
+ export interface Session extends Omit<Entity, '@type'> {
149
+ '@type': 'Session';
150
+ references?: EntityAndChildren[];
151
+ subject?: EntityAndChildren[];
152
+ workingDirectory?: DirectoryAndChildren;
153
+ }
154
+ export type SessionAndChildren = Session | CallSessionAndChildren | DeviceSessionAndChildren | EnrollmentAndChildren | MembershipAndChildren | RelationshipAndChildren | TenureAndChildren;
155
+ export declare const SessionSchema: z.ZodType<Session>;
156
+ export interface CallSession extends Omit<Session, '@type'> {
157
+ '@type': 'CallSession';
158
+ recipient?: AgentAndChildren[];
159
+ }
160
+ export type CallSessionAndChildren = CallSession;
161
+ export declare const CallSessionSchema: z.ZodType<CallSession>;
57
162
  export interface CancelAction extends Omit<Action, '@type'> {
58
163
  '@type': 'CancelAction';
59
164
  }
60
165
  export type CancelActionAndChildren = CancelAction;
61
166
  export declare const CancelActionSchema: z.ZodType<CancelAction>;
62
- export interface Collection extends Omit<Entity, '@type'> {
167
+ export interface Intangible extends Omit<Entity, '@type'> {
168
+ '@type': 'Intangible';
169
+ }
170
+ export type IntangibleAndChildren = Intangible | DefinedTermAndChildren | SelectorAndChildren;
171
+ export declare const IntangibleSchema: z.ZodType<Intangible>;
172
+ export interface DefinedTerm extends Omit<Intangible, '@type'> {
173
+ '@type': 'DefinedTerm';
174
+ }
175
+ export type DefinedTermAndChildren = DefinedTerm | CategoryAndChildren;
176
+ export declare const DefinedTermSchema: z.ZodType<DefinedTerm>;
177
+ export interface Category extends Omit<DefinedTerm, '@type'> {
178
+ '@type': 'Category';
179
+ color?: string;
180
+ }
181
+ export type CategoryAndChildren = Category;
182
+ export declare const CategorySchema: z.ZodType<Category>;
183
+ export interface Channel extends Omit<CreativeWork, '@type'> {
184
+ '@type': 'Channel';
185
+ member?: (AgentAndChildren | PersonAndChildren)[];
186
+ }
187
+ export type ChannelAndChildren = Channel;
188
+ export declare const ChannelSchema: z.ZodType<Channel>;
189
+ export interface CheckInAction extends Omit<CommunicateAction, '@type'> {
190
+ '@type': 'CheckInAction';
191
+ }
192
+ export type CheckInActionAndChildren = CheckInAction;
193
+ export declare const CheckInActionSchema: z.ZodType<CheckInAction>;
194
+ export interface Collection extends Omit<CreativeWork, '@type'> {
63
195
  '@type': 'Collection';
64
196
  }
65
- export type CollectionAndChildren = Collection | ProjectAndChildren | ThreadAndChildren;
197
+ export type CollectionAndChildren = Collection | DirectoryAndChildren | ProjectAndChildren | ThreadAndChildren;
66
198
  export declare const CollectionSchema: z.ZodType<Collection>;
67
199
  export interface Command extends Omit<Entity, '@type'> {
68
200
  '@type': 'Command';
69
201
  }
70
202
  export type CommandAndChildren = Command;
71
203
  export declare const CommandSchema: z.ZodType<Command>;
204
+ export interface Response extends Omit<CreativeWork, '@type'> {
205
+ '@type': 'Response';
206
+ }
207
+ export type ResponseAndChildren = Response | CommentAndChildren;
208
+ export declare const ResponseSchema: z.ZodType<Response>;
209
+ export interface Comment extends Omit<Response, '@type'> {
210
+ '@type': 'Comment';
211
+ }
212
+ export type CommentAndChildren = Comment;
213
+ export declare const CommentSchema: z.ZodType<Comment>;
72
214
  export interface CompleteAction extends Omit<Action, '@type'> {
73
215
  '@type': 'CompleteAction';
74
216
  }
75
217
  export type CompleteActionAndChildren = CompleteAction;
76
218
  export declare const CompleteActionSchema: z.ZodType<CompleteAction>;
219
+ export interface ConsumeAction extends Omit<Action, '@type'> {
220
+ '@type': 'ConsumeAction';
221
+ }
222
+ export type ConsumeActionAndChildren = ConsumeAction | DrankActionAndChildren | EatActionAndChildren | ListenActionAndChildren | ReadActionAndChildren | ViewActionAndChildren | WatchActionAndChildren;
223
+ export declare const ConsumeActionSchema: z.ZodType<ConsumeAction>;
77
224
  export interface DeleteAction extends Omit<Action, '@type'> {
78
225
  '@type': 'DeleteAction';
79
226
  }
80
227
  export type DeleteActionAndChildren = DeleteAction;
81
228
  export declare const DeleteActionSchema: z.ZodType<DeleteAction>;
229
+ export interface PhysicalObject extends Omit<Entity, '@type'> {
230
+ '@type': 'PhysicalObject';
231
+ model?: string;
232
+ }
233
+ export type PhysicalObjectAndChildren = PhysicalObject | DeviceAndChildren;
234
+ export declare const PhysicalObjectSchema: z.ZodType<PhysicalObject>;
235
+ export interface Device extends Omit<PhysicalObject, '@type'> {
236
+ '@type': 'Device';
237
+ }
238
+ export type DeviceAndChildren = Device;
239
+ export declare const DeviceSchema: z.ZodType<Device>;
240
+ export interface DeviceSession extends Omit<Session, '@type'> {
241
+ '@type': 'DeviceSession';
242
+ }
243
+ export type DeviceSessionAndChildren = DeviceSession;
244
+ export declare const DeviceSessionSchema: z.ZodType<DeviceSession>;
245
+ export interface Directory extends Omit<Collection, '@type'> {
246
+ '@type': 'Directory';
247
+ }
248
+ export type DirectoryAndChildren = Directory;
249
+ export declare const DirectorySchema: z.ZodType<Directory>;
82
250
  export interface DocumentObject extends Omit<MediaObject, '@type'> {
83
251
  '@type': 'DocumentObject';
252
+ pageCount?: number;
84
253
  }
85
254
  export type DocumentObjectAndChildren = DocumentObject;
86
255
  export declare const DocumentObjectSchema: z.ZodType<DocumentObject>;
256
+ export interface DrankAction extends Omit<ConsumeAction, '@type'> {
257
+ '@type': 'DrankAction';
258
+ }
259
+ export type DrankActionAndChildren = DrankAction;
260
+ export declare const DrankActionSchema: z.ZodType<DrankAction>;
261
+ export interface EatAction extends Omit<ConsumeAction, '@type'> {
262
+ '@type': 'EatAction';
263
+ }
264
+ export type EatActionAndChildren = EatAction;
265
+ export declare const EatActionSchema: z.ZodType<EatAction>;
266
+ export interface Enrollment extends Omit<Session, '@type'> {
267
+ '@type': 'Enrollment';
268
+ degree?: string;
269
+ }
270
+ export type EnrollmentAndChildren = Enrollment;
271
+ export declare const EnrollmentSchema: z.ZodType<Enrollment>;
272
+ export interface Selector extends Omit<Intangible, '@type'> {
273
+ '@type': 'Selector';
274
+ selectorLabel?: string;
275
+ selectorValue?: string;
276
+ }
277
+ export type SelectorAndChildren = Selector | EpubCfiSelectorAndChildren | PageSelectorAndChildren;
278
+ export declare const SelectorSchema: z.ZodType<Selector>;
279
+ export interface EpubCfiSelector extends Omit<Selector, '@type'> {
280
+ '@type': 'EpubCfiSelector';
281
+ }
282
+ export type EpubCfiSelectorAndChildren = EpubCfiSelector;
283
+ export declare const EpubCfiSelectorSchema: z.ZodType<EpubCfiSelector>;
284
+ export interface Event extends Omit<Entity, '@type'> {
285
+ '@type': 'Event';
286
+ endTime?: Date | string;
287
+ location?: LocationAndChildren | PlaceAndChildren;
288
+ startTime?: Date | string;
289
+ }
290
+ export type EventAndChildren = Event;
291
+ export declare const EventSchema: z.ZodType<Event>;
87
292
  export interface ExecuteAction extends Omit<Action, '@type'> {
88
293
  '@type': 'ExecuteAction';
89
294
  }
90
295
  export type ExecuteActionAndChildren = ExecuteAction;
91
296
  export declare const ExecuteActionSchema: z.ZodType<ExecuteAction>;
297
+ export interface ExperienceAction extends Omit<Action, '@type'> {
298
+ '@type': 'ExperienceAction';
299
+ }
300
+ export type ExperienceActionAndChildren = ExperienceAction | JoinActionAndChildren | LeaveActionAndChildren;
301
+ export declare const ExperienceActionSchema: z.ZodType<ExperienceAction>;
302
+ export interface FindAction extends Omit<Action, '@type'> {
303
+ '@type': 'FindAction';
304
+ }
305
+ export type FindActionAndChildren = FindAction;
306
+ export declare const FindActionSchema: z.ZodType<FindAction>;
307
+ export interface FollowAction extends Omit<InteractAction, '@type'> {
308
+ '@type': 'FollowAction';
309
+ }
310
+ export type FollowActionAndChildren = FollowAction;
311
+ export declare const FollowActionSchema: z.ZodType<FollowAction>;
92
312
  export interface ImageObject extends Omit<MediaObject, '@type'> {
93
313
  '@type': 'ImageObject';
314
+ caption?: string;
315
+ height?: number;
316
+ width?: number;
94
317
  }
95
318
  export type ImageObjectAndChildren = ImageObject;
96
319
  export declare const ImageObjectSchema: z.ZodType<ImageObject>;
97
- export interface Message extends Omit<Entity, '@type'> {
320
+ export interface StructuredValue {
321
+ '@type': 'StructuredValue';
322
+ }
323
+ export type StructuredValueAndChildren = StructuredValue | IntervalAndChildren | LocationAndChildren;
324
+ export declare const StructuredValueSchema: z.ZodType<StructuredValue>;
325
+ export interface Interval extends Omit<StructuredValue, '@type'> {
326
+ '@type': 'Interval';
327
+ endTime?: Date | string;
328
+ startTime?: Date | string;
329
+ }
330
+ export type IntervalAndChildren = Interval;
331
+ export declare const IntervalSchema: z.ZodType<Interval>;
332
+ export interface JoinAction extends Omit<ExperienceAction, '@type'> {
333
+ '@type': 'JoinAction';
334
+ }
335
+ export type JoinActionAndChildren = JoinAction;
336
+ export declare const JoinActionSchema: z.ZodType<JoinAction>;
337
+ export interface Journey extends Omit<Entity, '@type'> {
338
+ '@type': 'Journey';
339
+ distance?: number;
340
+ path?: string;
341
+ travelMode?: string;
342
+ }
343
+ export type JourneyAndChildren = Journey;
344
+ export declare const JourneySchema: z.ZodType<Journey>;
345
+ export interface LeaveAction extends Omit<ExperienceAction, '@type'> {
346
+ '@type': 'LeaveAction';
347
+ }
348
+ export type LeaveActionAndChildren = LeaveAction;
349
+ export declare const LeaveActionSchema: z.ZodType<LeaveAction>;
350
+ export interface ReactAction extends Omit<AssessAction, '@type'> {
351
+ '@type': 'ReactAction';
352
+ }
353
+ export type ReactActionAndChildren = ReactAction | LikeActionAndChildren;
354
+ export declare const ReactActionSchema: z.ZodType<ReactAction>;
355
+ export interface LikeAction extends Omit<ReactAction, '@type'> {
356
+ '@type': 'LikeAction';
357
+ }
358
+ export type LikeActionAndChildren = LikeAction;
359
+ export declare const LikeActionSchema: z.ZodType<LikeAction>;
360
+ export interface ListenAction extends Omit<ConsumeAction, '@type'> {
361
+ '@type': 'ListenAction';
362
+ }
363
+ export type ListenActionAndChildren = ListenAction;
364
+ export declare const ListenActionSchema: z.ZodType<ListenAction>;
365
+ export interface Location extends Omit<StructuredValue, '@type'> {
366
+ '@type': 'Location';
367
+ address?: string;
368
+ latitude?: number;
369
+ longitude?: number;
370
+ }
371
+ export type LocationAndChildren = Location;
372
+ export declare const LocationSchema: z.ZodType<Location>;
373
+ export interface Meal extends Omit<Entity, '@type'> {
374
+ '@type': 'Meal';
375
+ }
376
+ export type MealAndChildren = Meal;
377
+ export declare const MealSchema: z.ZodType<Meal>;
378
+ export interface Membership extends Omit<Session, '@type'> {
379
+ '@type': 'Membership';
380
+ role?: string;
381
+ }
382
+ export type MembershipAndChildren = Membership;
383
+ export declare const MembershipSchema: z.ZodType<Membership>;
384
+ export interface Message extends Omit<CreativeWork, '@type'> {
98
385
  '@type': 'Message';
99
386
  author?: AgentAndChildren[];
100
- contains?: MediaObjectAndChildren[];
387
+ inReplyTo?: MessageAndChildren[];
101
388
  recipient?: AgentAndChildren[];
102
389
  }
103
390
  export type MessageAndChildren = Message;
@@ -107,38 +394,129 @@ export interface MessageAction extends Omit<Action, '@type'> {
107
394
  }
108
395
  export type MessageActionAndChildren = MessageAction;
109
396
  export declare const MessageActionSchema: z.ZodType<MessageAction>;
397
+ export interface MusicAlbum extends Omit<CreativeWork, '@type'> {
398
+ '@type': 'MusicAlbum';
399
+ artist?: MusicGroupAndChildren[];
400
+ }
401
+ export type MusicAlbumAndChildren = MusicAlbum;
402
+ export declare const MusicAlbumSchema: z.ZodType<MusicAlbum>;
403
+ export interface Organization extends Omit<Agent, '@type'> {
404
+ '@type': 'Organization';
405
+ member?: (AgentAndChildren | PersonAndChildren)[];
406
+ }
407
+ export type OrganizationAndChildren = Organization | PerformingGroupAndChildren;
408
+ export declare const OrganizationSchema: z.ZodType<Organization>;
409
+ export interface PerformingGroup extends Omit<Organization, '@type'> {
410
+ '@type': 'PerformingGroup';
411
+ }
412
+ export type PerformingGroupAndChildren = PerformingGroup | MusicGroupAndChildren;
413
+ export declare const PerformingGroupSchema: z.ZodType<PerformingGroup>;
414
+ export interface MusicGroup extends Omit<PerformingGroup, '@type'> {
415
+ '@type': 'MusicGroup';
416
+ }
417
+ export type MusicGroupAndChildren = MusicGroup;
418
+ export declare const MusicGroupSchema: z.ZodType<MusicGroup>;
419
+ export interface MusicRecording extends Omit<CreativeWork, '@type'> {
420
+ '@type': 'MusicRecording';
421
+ artist?: MusicGroupAndChildren[];
422
+ duration?: string;
423
+ inAlbum?: MusicAlbumAndChildren;
424
+ }
425
+ export type MusicRecordingAndChildren = MusicRecording;
426
+ export declare const MusicRecordingSchema: z.ZodType<MusicRecording>;
427
+ export interface PageSelector extends Omit<Selector, '@type'> {
428
+ '@type': 'PageSelector';
429
+ }
430
+ export type PageSelectorAndChildren = PageSelector;
431
+ export declare const PageSelectorSchema: z.ZodType<PageSelector>;
110
432
  export interface Person extends Omit<Agent, '@type'> {
111
433
  '@type': 'Person';
112
434
  }
113
435
  export type PersonAndChildren = Person;
114
436
  export declare const PersonSchema: z.ZodType<Person>;
437
+ export interface Place extends Omit<Entity, '@type'> {
438
+ '@type': 'Place';
439
+ }
440
+ export type PlaceAndChildren = Place | VenueAndChildren;
441
+ export declare const PlaceSchema: z.ZodType<Place>;
115
442
  export interface PlanAction extends Omit<Action, '@type'> {
116
443
  '@type': 'PlanAction';
117
444
  }
118
445
  export type PlanActionAndChildren = PlanAction;
119
446
  export declare const PlanActionSchema: z.ZodType<PlanAction>;
447
+ export interface PodcastEpisode extends Omit<CreativeWork, '@type'> {
448
+ '@type': 'PodcastEpisode';
449
+ duration?: string;
450
+ }
451
+ export type PodcastEpisodeAndChildren = PodcastEpisode;
452
+ export declare const PodcastEpisodeSchema: z.ZodType<PodcastEpisode>;
453
+ export interface Post extends Omit<CreativeWork, '@type'> {
454
+ '@type': 'Post';
455
+ }
456
+ export type PostAndChildren = Post;
457
+ export declare const PostSchema: z.ZodType<Post>;
120
458
  export interface Project extends Omit<Collection, '@type'> {
121
459
  '@type': 'Project';
122
460
  }
123
461
  export type ProjectAndChildren = Project;
124
462
  export declare const ProjectSchema: z.ZodType<Project>;
463
+ export interface PublishAction extends Omit<CreateAction, '@type'> {
464
+ '@type': 'PublishAction';
465
+ }
466
+ export type PublishActionAndChildren = PublishAction;
467
+ export declare const PublishActionSchema: z.ZodType<PublishAction>;
468
+ export interface Query extends Omit<CreativeWork, '@type'> {
469
+ '@type': 'Query';
470
+ }
471
+ export type QueryAndChildren = Query;
472
+ export declare const QuerySchema: z.ZodType<Query>;
473
+ export interface Quotation extends Omit<CreativeWork, '@type'> {
474
+ '@type': 'Quotation';
475
+ annotationStyle?: string;
476
+ color?: string;
477
+ selector?: SelectorAndChildren[];
478
+ }
479
+ export type QuotationAndChildren = Quotation;
480
+ export declare const QuotationSchema: z.ZodType<Quotation>;
481
+ export interface QuoteAction extends Omit<CreateAction, '@type'> {
482
+ '@type': 'QuoteAction';
483
+ }
484
+ export type QuoteActionAndChildren = QuoteAction;
485
+ export declare const QuoteActionSchema: z.ZodType<QuoteAction>;
486
+ export interface ReadAction extends Omit<ConsumeAction, '@type'> {
487
+ '@type': 'ReadAction';
488
+ }
489
+ export type ReadActionAndChildren = ReadAction;
490
+ export declare const ReadActionSchema: z.ZodType<ReadAction>;
125
491
  export interface Realm extends Omit<Entity, '@type'> {
126
492
  '@type': 'Realm';
127
493
  }
128
494
  export type RealmAndChildren = Realm;
129
495
  export declare const RealmSchema: z.ZodType<Realm>;
496
+ export interface Relationship extends Omit<Session, '@type'> {
497
+ '@type': 'Relationship';
498
+ role?: string;
499
+ }
500
+ export type RelationshipAndChildren = Relationship;
501
+ export declare const RelationshipSchema: z.ZodType<Relationship>;
502
+ export interface RespondAction extends Omit<AssessAction, '@type'> {
503
+ '@type': 'RespondAction';
504
+ }
505
+ export type RespondActionAndChildren = RespondAction;
506
+ export declare const RespondActionSchema: z.ZodType<RespondAction>;
130
507
  export interface SoftwareAgent extends Omit<Agent, '@type'> {
131
508
  '@type': 'SoftwareAgent';
132
509
  }
133
510
  export type SoftwareAgentAndChildren = SoftwareAgent;
134
511
  export declare const SoftwareAgentSchema: z.ZodType<SoftwareAgent>;
135
- export interface SoftwareApplication extends Omit<Entity, '@type'> {
512
+ export interface SoftwareApplication extends Omit<CreativeWork, '@type'> {
136
513
  '@type': 'SoftwareApplication';
137
514
  }
138
515
  export type SoftwareApplicationAndChildren = SoftwareApplication;
139
516
  export declare const SoftwareApplicationSchema: z.ZodType<SoftwareApplication>;
140
517
  export interface Tag extends Omit<Entity, '@type'> {
141
518
  '@type': 'Tag';
519
+ color?: string;
142
520
  }
143
521
  export type TagAndChildren = Tag;
144
522
  export declare const TagSchema: z.ZodType<Tag>;
@@ -147,46 +525,143 @@ export interface Task extends Omit<Entity, '@type'> {
147
525
  }
148
526
  export type TaskAndChildren = Task;
149
527
  export declare const TaskSchema: z.ZodType<Task>;
528
+ export interface Tenure extends Omit<Session, '@type'> {
529
+ '@type': 'Tenure';
530
+ role?: string;
531
+ }
532
+ export type TenureAndChildren = Tenure;
533
+ export declare const TenureSchema: z.ZodType<Tenure>;
150
534
  export interface Thread extends Omit<Collection, '@type'> {
151
535
  '@type': 'Thread';
152
536
  }
153
537
  export type ThreadAndChildren = Thread;
154
538
  export declare const ThreadSchema: z.ZodType<Thread>;
155
- export interface UpdateAction extends Omit<Action, '@type'> {
156
- '@type': 'UpdateAction';
539
+ export interface TravelAction extends Omit<Action, '@type'> {
540
+ '@type': 'TravelAction';
157
541
  }
158
- export type UpdateActionAndChildren = UpdateAction;
159
- export declare const UpdateActionSchema: z.ZodType<UpdateAction>;
542
+ export type TravelActionAndChildren = TravelAction;
543
+ export declare const TravelActionSchema: z.ZodType<TravelAction>;
544
+ export interface Venue extends Omit<Place, '@type'> {
545
+ '@type': 'Venue';
546
+ }
547
+ export type VenueAndChildren = Venue;
548
+ export declare const VenueSchema: z.ZodType<Venue>;
160
549
  export interface VideoObject extends Omit<MediaObject, '@type'> {
161
550
  '@type': 'VideoObject';
551
+ duration?: string;
552
+ height?: number;
553
+ width?: number;
162
554
  }
163
555
  export type VideoObjectAndChildren = VideoObject;
164
556
  export declare const VideoObjectSchema: z.ZodType<VideoObject>;
557
+ export interface ViewAction extends Omit<ConsumeAction, '@type'> {
558
+ '@type': 'ViewAction';
559
+ }
560
+ export type ViewActionAndChildren = ViewAction;
561
+ export declare const ViewActionSchema: z.ZodType<ViewAction>;
562
+ export interface VisitAction extends Omit<Action, '@type'> {
563
+ '@type': 'VisitAction';
564
+ }
565
+ export type VisitActionAndChildren = VisitAction;
566
+ export declare const VisitActionSchema: z.ZodType<VisitAction>;
567
+ export interface WatchAction extends Omit<ConsumeAction, '@type'> {
568
+ '@type': 'WatchAction';
569
+ }
570
+ export type WatchActionAndChildren = WatchAction;
571
+ export declare const WatchActionSchema: z.ZodType<WatchAction>;
572
+ export declare const WatchActionAndChildrenSchema: z.ZodType<WatchAction, z.ZodTypeDef, WatchAction>;
573
+ export declare const VisitActionAndChildrenSchema: z.ZodType<VisitAction, z.ZodTypeDef, VisitAction>;
574
+ export declare const ViewActionAndChildrenSchema: z.ZodType<ViewAction, z.ZodTypeDef, ViewAction>;
165
575
  export declare const VideoObjectAndChildrenSchema: z.ZodType<VideoObject, z.ZodTypeDef, VideoObject>;
166
- export declare const UpdateActionAndChildrenSchema: z.ZodType<UpdateAction, z.ZodTypeDef, UpdateAction>;
576
+ export declare const VenueAndChildrenSchema: z.ZodType<Venue, z.ZodTypeDef, Venue>;
577
+ export declare const TravelActionAndChildrenSchema: z.ZodType<TravelAction, z.ZodTypeDef, TravelAction>;
167
578
  export declare const ThreadAndChildrenSchema: z.ZodType<Thread, z.ZodTypeDef, Thread>;
579
+ export declare const TenureAndChildrenSchema: z.ZodType<Tenure, z.ZodTypeDef, Tenure>;
168
580
  export declare const TaskAndChildrenSchema: z.ZodType<Task, z.ZodTypeDef, Task>;
169
581
  export declare const TagAndChildrenSchema: z.ZodType<Tag, z.ZodTypeDef, Tag>;
170
582
  export declare const SoftwareApplicationAndChildrenSchema: z.ZodType<SoftwareApplication, z.ZodTypeDef, SoftwareApplication>;
171
583
  export declare const SoftwareAgentAndChildrenSchema: z.ZodType<SoftwareAgent, z.ZodTypeDef, SoftwareAgent>;
584
+ export declare const RespondActionAndChildrenSchema: z.ZodType<RespondAction, z.ZodTypeDef, RespondAction>;
585
+ export declare const RelationshipAndChildrenSchema: z.ZodType<Relationship, z.ZodTypeDef, Relationship>;
172
586
  export declare const RealmAndChildrenSchema: z.ZodType<Realm, z.ZodTypeDef, Realm>;
587
+ export declare const ReadActionAndChildrenSchema: z.ZodType<ReadAction, z.ZodTypeDef, ReadAction>;
588
+ export declare const QuoteActionAndChildrenSchema: z.ZodType<QuoteAction, z.ZodTypeDef, QuoteAction>;
589
+ export declare const QuotationAndChildrenSchema: z.ZodType<Quotation, z.ZodTypeDef, Quotation>;
590
+ export declare const QueryAndChildrenSchema: z.ZodType<Query, z.ZodTypeDef, Query>;
591
+ export declare const PublishActionAndChildrenSchema: z.ZodType<PublishAction, z.ZodTypeDef, PublishAction>;
173
592
  export declare const ProjectAndChildrenSchema: z.ZodType<Project, z.ZodTypeDef, Project>;
593
+ export declare const PostAndChildrenSchema: z.ZodType<Post, z.ZodTypeDef, Post>;
594
+ export declare const PodcastEpisodeAndChildrenSchema: z.ZodType<PodcastEpisode, z.ZodTypeDef, PodcastEpisode>;
174
595
  export declare const PlanActionAndChildrenSchema: z.ZodType<PlanAction, z.ZodTypeDef, PlanAction>;
596
+ export declare const PlaceAndChildrenSchema: z.ZodType<PlaceAndChildren>;
175
597
  export declare const PersonAndChildrenSchema: z.ZodType<Person, z.ZodTypeDef, Person>;
598
+ export declare const PageSelectorAndChildrenSchema: z.ZodType<PageSelector, z.ZodTypeDef, PageSelector>;
599
+ export declare const MusicRecordingAndChildrenSchema: z.ZodType<MusicRecording, z.ZodTypeDef, MusicRecording>;
600
+ export declare const MusicGroupAndChildrenSchema: z.ZodType<MusicGroup, z.ZodTypeDef, MusicGroup>;
601
+ export declare const PerformingGroupAndChildrenSchema: z.ZodType<PerformingGroupAndChildren>;
602
+ export declare const OrganizationAndChildrenSchema: z.ZodType<OrganizationAndChildren>;
603
+ export declare const MusicAlbumAndChildrenSchema: z.ZodType<MusicAlbum, z.ZodTypeDef, MusicAlbum>;
176
604
  export declare const MessageActionAndChildrenSchema: z.ZodType<MessageAction, z.ZodTypeDef, MessageAction>;
177
605
  export declare const MessageAndChildrenSchema: z.ZodType<Message, z.ZodTypeDef, Message>;
606
+ export declare const MembershipAndChildrenSchema: z.ZodType<Membership, z.ZodTypeDef, Membership>;
607
+ export declare const MealAndChildrenSchema: z.ZodType<Meal, z.ZodTypeDef, Meal>;
608
+ export declare const LocationAndChildrenSchema: z.ZodType<Location, z.ZodTypeDef, Location>;
609
+ export declare const ListenActionAndChildrenSchema: z.ZodType<ListenAction, z.ZodTypeDef, ListenAction>;
610
+ export declare const LikeActionAndChildrenSchema: z.ZodType<LikeAction, z.ZodTypeDef, LikeAction>;
611
+ export declare const ReactActionAndChildrenSchema: z.ZodType<ReactActionAndChildren>;
612
+ export declare const LeaveActionAndChildrenSchema: z.ZodType<LeaveAction, z.ZodTypeDef, LeaveAction>;
613
+ export declare const JourneyAndChildrenSchema: z.ZodType<Journey, z.ZodTypeDef, Journey>;
614
+ export declare const JoinActionAndChildrenSchema: z.ZodType<JoinAction, z.ZodTypeDef, JoinAction>;
615
+ export declare const IntervalAndChildrenSchema: z.ZodType<Interval, z.ZodTypeDef, Interval>;
616
+ export declare const StructuredValueAndChildrenSchema: z.ZodType<StructuredValueAndChildren>;
178
617
  export declare const ImageObjectAndChildrenSchema: z.ZodType<ImageObject, z.ZodTypeDef, ImageObject>;
618
+ export declare const FollowActionAndChildrenSchema: z.ZodType<FollowAction, z.ZodTypeDef, FollowAction>;
619
+ export declare const FindActionAndChildrenSchema: z.ZodType<FindAction, z.ZodTypeDef, FindAction>;
620
+ export declare const ExperienceActionAndChildrenSchema: z.ZodType<ExperienceActionAndChildren>;
179
621
  export declare const ExecuteActionAndChildrenSchema: z.ZodType<ExecuteAction, z.ZodTypeDef, ExecuteAction>;
622
+ export declare const EventAndChildrenSchema: z.ZodType<Event, z.ZodTypeDef, Event>;
623
+ export declare const EpubCfiSelectorAndChildrenSchema: z.ZodType<EpubCfiSelector, z.ZodTypeDef, EpubCfiSelector>;
624
+ export declare const SelectorAndChildrenSchema: z.ZodType<SelectorAndChildren>;
625
+ export declare const EnrollmentAndChildrenSchema: z.ZodType<Enrollment, z.ZodTypeDef, Enrollment>;
626
+ export declare const EatActionAndChildrenSchema: z.ZodType<EatAction, z.ZodTypeDef, EatAction>;
627
+ export declare const DrankActionAndChildrenSchema: z.ZodType<DrankAction, z.ZodTypeDef, DrankAction>;
180
628
  export declare const DocumentObjectAndChildrenSchema: z.ZodType<DocumentObject, z.ZodTypeDef, DocumentObject>;
629
+ export declare const DirectoryAndChildrenSchema: z.ZodType<Directory, z.ZodTypeDef, Directory>;
630
+ export declare const DeviceSessionAndChildrenSchema: z.ZodType<DeviceSession, z.ZodTypeDef, DeviceSession>;
631
+ export declare const DeviceAndChildrenSchema: z.ZodType<Device, z.ZodTypeDef, Device>;
632
+ export declare const PhysicalObjectAndChildrenSchema: z.ZodType<PhysicalObjectAndChildren>;
181
633
  export declare const DeleteActionAndChildrenSchema: z.ZodType<DeleteAction, z.ZodTypeDef, DeleteAction>;
634
+ export declare const ConsumeActionAndChildrenSchema: z.ZodType<ConsumeActionAndChildren>;
182
635
  export declare const CompleteActionAndChildrenSchema: z.ZodType<CompleteAction, z.ZodTypeDef, CompleteAction>;
636
+ export declare const CommentAndChildrenSchema: z.ZodType<Comment, z.ZodTypeDef, Comment>;
637
+ export declare const ResponseAndChildrenSchema: z.ZodType<ResponseAndChildren>;
183
638
  export declare const CommandAndChildrenSchema: z.ZodType<Command, z.ZodTypeDef, Command>;
184
639
  export declare const CollectionAndChildrenSchema: z.ZodType<CollectionAndChildren>;
640
+ export declare const CheckInActionAndChildrenSchema: z.ZodType<CheckInAction, z.ZodTypeDef, CheckInAction>;
641
+ export declare const ChannelAndChildrenSchema: z.ZodType<Channel, z.ZodTypeDef, Channel>;
642
+ export declare const CategoryAndChildrenSchema: z.ZodType<Category, z.ZodTypeDef, Category>;
643
+ export declare const DefinedTermAndChildrenSchema: z.ZodType<DefinedTermAndChildren>;
644
+ export declare const IntangibleAndChildrenSchema: z.ZodType<IntangibleAndChildren>;
185
645
  export declare const CancelActionAndChildrenSchema: z.ZodType<CancelAction, z.ZodTypeDef, CancelAction>;
646
+ export declare const CallSessionAndChildrenSchema: z.ZodType<CallSession, z.ZodTypeDef, CallSession>;
647
+ export declare const SessionAndChildrenSchema: z.ZodType<SessionAndChildren>;
648
+ export declare const CallActionAndChildrenSchema: z.ZodType<CallAction, z.ZodTypeDef, CallAction>;
649
+ export declare const CommunicateActionAndChildrenSchema: z.ZodType<CommunicateActionAndChildren>;
650
+ export declare const InteractActionAndChildrenSchema: z.ZodType<InteractActionAndChildren>;
651
+ export declare const BookmarkActionAndChildrenSchema: z.ZodType<BookmarkAction, z.ZodTypeDef, BookmarkAction>;
652
+ export declare const OrganizeActionAndChildrenSchema: z.ZodType<OrganizeActionAndChildren>;
653
+ export declare const BookAndChildrenSchema: z.ZodType<Book, z.ZodTypeDef, Book>;
186
654
  export declare const AudioObjectAndChildrenSchema: z.ZodType<AudioObject, z.ZodTypeDef, AudioObject>;
187
655
  export declare const MediaObjectAndChildrenSchema: z.ZodType<MediaObjectAndChildren>;
656
+ export declare const AssessActionAndChildrenSchema: z.ZodType<AssessActionAndChildren>;
657
+ export declare const ArticleAndChildrenSchema: z.ZodType<Article, z.ZodTypeDef, Article>;
658
+ export declare const CreativeWorkAndChildrenSchema: z.ZodType<CreativeWorkAndChildren>;
659
+ export declare const AnnotateActionAndChildrenSchema: z.ZodType<AnnotateAction, z.ZodTypeDef, AnnotateAction>;
660
+ export declare const CreateActionAndChildrenSchema: z.ZodType<CreateActionAndChildren>;
188
661
  export declare const AgentAndChildrenSchema: z.ZodType<AgentAndChildren>;
189
662
  export declare const EntityAndChildrenSchema: z.ZodType<EntityAndChildren>;
663
+ export declare const AddActionAndChildrenSchema: z.ZodType<AddAction, z.ZodTypeDef, AddAction>;
664
+ export declare const UpdateActionAndChildrenSchema: z.ZodType<UpdateActionAndChildren>;
190
665
  export declare const ActionAndChildrenSchema: z.ZodType<ActionAndChildren>;
191
666
  export declare const BaseAndChildrenSchema: z.ZodType<BaseAndChildren>;
192
667
  //# sourceMappingURL=schema.d.ts.map