@chronicle.app/schema 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ /** Whether `value` is a full instant in UTC, such as `2024-03-02T14:05:00Z`. */
2
+ export declare function isInstant(value: string): boolean;
3
+ /**
4
+ * Whether `value` is a :DateTime string: a full instant in UTC
5
+ * (`2024-03-02T14:05:00Z`), or a date at year, month, or day precision that
6
+ * may leave trailing year digits, the month, or the day unspecified with `X`
7
+ * and may end in one qualifier (`?` uncertain, `~` approximate, `%` both).
8
+ */
9
+ export declare function isDateTime(value: string): boolean;
10
+ //# sourceMappingURL=datetime.d.ts.map
@@ -0,0 +1,49 @@
1
+ // A :DateTime string is one point in time, written in a subset of EDTF
2
+ // (ISO 8601-2). See the :DateTime comment in chronicle.ttl for the forms.
3
+ // A year with any trailing digits unspecified: 1987, 198X, 19XX, 1XXX, XXXX.
4
+ const YEAR = String.raw `\d{4}|\d{3}X|\d{2}XX|\dXXX|XXXX`;
5
+ const DATE = new RegExp(String.raw `^(?<year>${YEAR})(?:-(?<month>\d{2}|XX)(?:-(?<day>\d{2}|XX))?)?(?<qualifier>[?~%])?$`);
6
+ const INSTANT = /^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})T(?<hour>\d{2}):(?<minute>\d{2}):(?<second>\d{2})(?:\.\d+)?Z$/;
7
+ const daysIn = (year, month) => new Date(Date.UTC(year, month, 0)).getUTCDate();
8
+ const validDay = (year, month, day) => {
9
+ if (month === 'XX' || day === 'XX')
10
+ return true;
11
+ const days = /X/.test(year) ? daysIn(2000, Number(month)) : daysIn(Number(year), Number(month));
12
+ return Number(day) >= 1 && Number(day) <= days;
13
+ };
14
+ /** Whether `value` is a full instant in UTC, such as `2024-03-02T14:05:00Z`. */
15
+ export function isInstant(value) {
16
+ const instant = INSTANT.exec(value)?.groups;
17
+ if (!instant)
18
+ return false;
19
+ const { year, month, day, hour, minute, second } = instant;
20
+ return (Number(month) >= 1 &&
21
+ Number(month) <= 12 &&
22
+ validDay(year, month, day) &&
23
+ Number(hour) <= 23 &&
24
+ Number(minute) <= 59 &&
25
+ Number(second) <= 59);
26
+ }
27
+ /**
28
+ * Whether `value` is a :DateTime string: a full instant in UTC
29
+ * (`2024-03-02T14:05:00Z`), or a date at year, month, or day precision that
30
+ * may leave trailing year digits, the month, or the day unspecified with `X`
31
+ * and may end in one qualifier (`?` uncertain, `~` approximate, `%` both).
32
+ */
33
+ export function isDateTime(value) {
34
+ if (INSTANT.test(value))
35
+ return isInstant(value);
36
+ const date = DATE.exec(value)?.groups;
37
+ if (!date)
38
+ return false;
39
+ const { year, month, day } = date;
40
+ // An unspecified month with a known day says nothing usable; neither does
41
+ // a value with no known digit at all.
42
+ if (month === 'XX' && day !== undefined && day !== 'XX')
43
+ return false;
44
+ if (year === 'XXXX' && (month === undefined || month === 'XX'))
45
+ return false;
46
+ if (month === undefined || month === 'XX')
47
+ return true;
48
+ return (Number(month) >= 1 && Number(month) <= 12 && (day === undefined || validDay(year, month, day)));
49
+ }
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './schema.js';
2
+ export { isDateTime, isInstant } from './datetime.js';
2
3
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export * from './schema.js';
2
+ export { isDateTime, isInstant } from './datetime.js';
package/dist/schema.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const SCHEMA_VERSION: "0.2.0";
1
+ export declare const SCHEMA_VERSION: "0.3.0";
2
2
  import { z } from 'zod';
3
3
  export type KeyField = string | {
4
4
  key: string;
@@ -15,11 +15,57 @@ export interface Base {
15
15
  }
16
16
  export type BaseAndChildren = Base | ActionAndChildren | EntityAndChildren;
17
17
  export declare const BaseSchema: z.ZodType<Base>;
18
+ export interface Entity extends Omit<Base, '@type'> {
19
+ '@type': 'Entity';
20
+ about?: EntityAndChildren[];
21
+ alternateName?: string[];
22
+ body?: string;
23
+ category?: string[];
24
+ contains?: MediaObjectAndChildren[];
25
+ description?: string;
26
+ emblem?: ImageObjectAndChildren;
27
+ handle?: string;
28
+ inAccount?: AgentAndChildren[];
29
+ inRealm?: RealmAndChildren;
30
+ isPartOf?: EntityAndChildren[];
31
+ location?: LocationAndChildren | PlaceAndChildren;
32
+ name?: string;
33
+ references?: EntityAndChildren[];
34
+ sameAs?: (EntityAndChildren | string)[];
35
+ tags?: string[];
36
+ url?: string;
37
+ }
38
+ export type EntityAndChildren = Entity | AgentAndChildren | CommandAndChildren | CreativeWorkAndChildren | EventAndChildren | IntangibleAndChildren | JourneyAndChildren | MealAndChildren | PhysicalObjectAndChildren | PlaceAndChildren | ProductModelAndChildren | RealmAndChildren | SessionAndChildren | TagAndChildren | TaskAndChildren;
39
+ export declare const EntitySchema: z.ZodType<Entity>;
40
+ export interface CreativeWork extends Omit<Entity, '@type'> {
41
+ '@type': 'CreativeWork';
42
+ author?: AgentAndChildren[];
43
+ creator?: AgentAndChildren[];
44
+ datePublished?: Date | string;
45
+ genre?: string[];
46
+ isBasedOn?: CreativeWorkAndChildren[];
47
+ publisher?: OrganizationAndChildren[];
48
+ references?: EntityAndChildren[];
49
+ sourceFormat?: string;
50
+ visibility?: string;
51
+ }
52
+ export type CreativeWorkAndChildren = CreativeWork | ArticleAndChildren | BookAndChildren | ChangesetAndChildren | ChannelAndChildren | CollectionAndChildren | MediaObjectAndChildren | MessageAndChildren | MusicAlbumAndChildren | MusicRecordingAndChildren | PodcastEpisodeAndChildren | PostAndChildren | QueryAndChildren | QuotationAndChildren | RepositoryAndChildren | ResponseAndChildren | RevisionAndChildren | SoftwareAndChildren | SoftwareSourceCodeAndChildren;
53
+ export declare const CreativeWorkSchema: z.ZodType<CreativeWork>;
54
+ export interface Software extends Omit<CreativeWork, '@type'> {
55
+ '@type': 'Software';
56
+ }
57
+ export type SoftwareAndChildren = Software | AIModelAndChildren | OperatingSystemAndChildren | SoftwareApplicationAndChildren;
58
+ export declare const SoftwareSchema: z.ZodType<Software>;
59
+ export interface AIModel extends Omit<Software, '@type'> {
60
+ '@type': 'AIModel';
61
+ }
62
+ export type AIModelAndChildren = AIModel;
63
+ export declare const AIModelSchema: z.ZodType<AIModel>;
18
64
  export interface Action extends Omit<Base, '@type'> {
19
65
  '@type': 'Action';
20
66
  agent?: AgentAndChildren;
21
67
  endTime?: Date | string;
22
- instrument?: EntityAndChildren;
68
+ instrument?: EntityAndChildren[];
23
69
  location?: LocationAndChildren | PlaceAndChildren;
24
70
  object?: EntityAndChildren;
25
71
  result?: EntityAndChildren;
@@ -27,8 +73,13 @@ export interface Action extends Omit<Base, '@type'> {
27
73
  target?: EntityAndChildren;
28
74
  timestamp?: Date | string;
29
75
  }
30
- export type ActionAndChildren = Action | AssessActionAndChildren | CancelActionAndChildren | CompleteActionAndChildren | ConsumeActionAndChildren | CreateActionAndChildren | DeleteActionAndChildren | ExecuteActionAndChildren | ExperienceActionAndChildren | FindActionAndChildren | InteractActionAndChildren | MessageActionAndChildren | OrganizeActionAndChildren | PlanActionAndChildren | TravelActionAndChildren | UpdateActionAndChildren | VisitActionAndChildren;
76
+ export type ActionAndChildren = Action | AcceptActionAndChildren | AssessActionAndChildren | CancelActionAndChildren | CompleteActionAndChildren | ConsumeActionAndChildren | CreateActionAndChildren | DeleteActionAndChildren | ExecuteActionAndChildren | ExperienceActionAndChildren | FindActionAndChildren | InteractActionAndChildren | MessageActionAndChildren | MoveActionAndChildren | OrganizeActionAndChildren | PlanActionAndChildren | RejectActionAndChildren | TravelActionAndChildren | UpdateActionAndChildren | VisitActionAndChildren;
31
77
  export declare const ActionSchema: z.ZodType<Action>;
78
+ export interface AcceptAction extends Omit<Action, '@type'> {
79
+ '@type': 'AcceptAction';
80
+ }
81
+ export type AcceptActionAndChildren = AcceptAction;
82
+ export declare const AcceptActionSchema: z.ZodType<AcceptAction>;
32
83
  export interface UpdateAction extends Omit<Action, '@type'> {
33
84
  '@type': 'UpdateAction';
34
85
  }
@@ -39,26 +90,6 @@ export interface AddAction extends Omit<UpdateAction, '@type'> {
39
90
  }
40
91
  export type AddActionAndChildren = AddAction;
41
92
  export declare const AddActionSchema: z.ZodType<AddAction>;
42
- export interface Entity extends Omit<Base, '@type'> {
43
- '@type': 'Entity';
44
- about?: EntityAndChildren[];
45
- body?: string;
46
- category?: string[];
47
- contains?: MediaObjectAndChildren[];
48
- description?: string;
49
- emblem?: ImageObjectAndChildren;
50
- handle?: string;
51
- inRealm?: RealmAndChildren;
52
- isPartOf?: EntityAndChildren[];
53
- location?: LocationAndChildren | PlaceAndChildren;
54
- name?: string;
55
- references?: EntityAndChildren[];
56
- sameAs?: (EntityAndChildren | string)[];
57
- tags?: string[];
58
- url?: string;
59
- }
60
- export type EntityAndChildren = Entity | AgentAndChildren | CommandAndChildren | CreativeWorkAndChildren | EventAndChildren | IntangibleAndChildren | JourneyAndChildren | MealAndChildren | PhysicalObjectAndChildren | PlaceAndChildren | RealmAndChildren | SessionAndChildren | TagAndChildren | TaskAndChildren;
61
- export declare const EntitySchema: z.ZodType<Entity>;
62
93
  export interface Agent extends Omit<Entity, '@type'> {
63
94
  '@type': 'Agent';
64
95
  memberOf?: EntityAndChildren[];
@@ -68,26 +99,13 @@ export declare const AgentSchema: z.ZodType<Agent>;
68
99
  export interface CreateAction extends Omit<Action, '@type'> {
69
100
  '@type': 'CreateAction';
70
101
  }
71
- export type CreateActionAndChildren = CreateAction | AnnotateActionAndChildren | PublishActionAndChildren | QuoteActionAndChildren;
102
+ export type CreateActionAndChildren = CreateAction | AnnotateActionAndChildren | PhotographActionAndChildren | PublishActionAndChildren | QuoteActionAndChildren | RecordActionAndChildren;
72
103
  export declare const CreateActionSchema: z.ZodType<CreateAction>;
73
104
  export interface AnnotateAction extends Omit<CreateAction, '@type'> {
74
105
  '@type': 'AnnotateAction';
75
106
  }
76
107
  export type AnnotateActionAndChildren = AnnotateAction;
77
108
  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
109
  export interface Article extends Omit<CreativeWork, '@type'> {
92
110
  '@type': 'Article';
93
111
  }
@@ -111,6 +129,7 @@ export interface AudioObject extends Omit<MediaObject, '@type'> {
111
129
  artist?: MusicGroupAndChildren[];
112
130
  duration?: string;
113
131
  genre?: string[];
132
+ transcript?: string;
114
133
  }
115
134
  export type AudioObjectAndChildren = AudioObject;
116
135
  export declare const AudioObjectSchema: z.ZodType<AudioObject>;
@@ -130,6 +149,16 @@ export interface BookmarkAction extends Omit<OrganizeAction, '@type'> {
130
149
  }
131
150
  export type BookmarkActionAndChildren = BookmarkAction;
132
151
  export declare const BookmarkActionSchema: z.ZodType<BookmarkAction>;
152
+ export interface Collection extends Omit<CreativeWork, '@type'> {
153
+ '@type': 'Collection';
154
+ }
155
+ export type CollectionAndChildren = Collection | CalendarAndChildren | DirectoryAndChildren | ProjectAndChildren | ThreadAndChildren;
156
+ export declare const CollectionSchema: z.ZodType<Collection>;
157
+ export interface Calendar extends Omit<Collection, '@type'> {
158
+ '@type': 'Calendar';
159
+ }
160
+ export type CalendarAndChildren = Calendar;
161
+ export declare const CalendarSchema: z.ZodType<Calendar>;
133
162
  export interface InteractAction extends Omit<Action, '@type'> {
134
163
  '@type': 'InteractAction';
135
164
  }
@@ -148,6 +177,8 @@ export declare const CallActionSchema: z.ZodType<CallAction>;
148
177
  export interface Session extends Omit<Entity, '@type'> {
149
178
  '@type': 'Session';
150
179
  references?: EntityAndChildren[];
180
+ scheduledEnd?: Date | string;
181
+ scheduledStart?: Date | string;
151
182
  subject?: EntityAndChildren[];
152
183
  workingDirectory?: DirectoryAndChildren;
153
184
  }
@@ -180,6 +211,11 @@ export interface Category extends Omit<DefinedTerm, '@type'> {
180
211
  }
181
212
  export type CategoryAndChildren = Category;
182
213
  export declare const CategorySchema: z.ZodType<Category>;
214
+ export interface Changeset extends Omit<CreativeWork, '@type'> {
215
+ '@type': 'Changeset';
216
+ }
217
+ export type ChangesetAndChildren = Changeset;
218
+ export declare const ChangesetSchema: z.ZodType<Changeset>;
183
219
  export interface Channel extends Omit<CreativeWork, '@type'> {
184
220
  '@type': 'Channel';
185
221
  member?: (AgentAndChildren | PersonAndChildren)[];
@@ -191,11 +227,6 @@ export interface CheckInAction extends Omit<CommunicateAction, '@type'> {
191
227
  }
192
228
  export type CheckInActionAndChildren = CheckInAction;
193
229
  export declare const CheckInActionSchema: z.ZodType<CheckInAction>;
194
- export interface Collection extends Omit<CreativeWork, '@type'> {
195
- '@type': 'Collection';
196
- }
197
- export type CollectionAndChildren = Collection | DirectoryAndChildren | ProjectAndChildren | ThreadAndChildren;
198
- export declare const CollectionSchema: z.ZodType<Collection>;
199
230
  export interface Command extends Omit<Entity, '@type'> {
200
231
  '@type': 'Command';
201
232
  }
@@ -219,7 +250,7 @@ export declare const CompleteActionSchema: z.ZodType<CompleteAction>;
219
250
  export interface ConsumeAction extends Omit<Action, '@type'> {
220
251
  '@type': 'ConsumeAction';
221
252
  }
222
- export type ConsumeActionAndChildren = ConsumeAction | DrankActionAndChildren | EatActionAndChildren | ListenActionAndChildren | ReadActionAndChildren | ViewActionAndChildren | WatchActionAndChildren;
253
+ export type ConsumeActionAndChildren = ConsumeAction | DrinkActionAndChildren | EatActionAndChildren | ListenActionAndChildren | ReadActionAndChildren | ViewActionAndChildren | WatchActionAndChildren;
223
254
  export declare const ConsumeActionSchema: z.ZodType<ConsumeAction>;
224
255
  export interface DeleteAction extends Omit<Action, '@type'> {
225
256
  '@type': 'DeleteAction';
@@ -253,11 +284,11 @@ export interface DocumentObject extends Omit<MediaObject, '@type'> {
253
284
  }
254
285
  export type DocumentObjectAndChildren = DocumentObject;
255
286
  export declare const DocumentObjectSchema: z.ZodType<DocumentObject>;
256
- export interface DrankAction extends Omit<ConsumeAction, '@type'> {
257
- '@type': 'DrankAction';
287
+ export interface DrinkAction extends Omit<ConsumeAction, '@type'> {
288
+ '@type': 'DrinkAction';
258
289
  }
259
- export type DrankActionAndChildren = DrankAction;
260
- export declare const DrankActionSchema: z.ZodType<DrankAction>;
290
+ export type DrinkActionAndChildren = DrinkAction;
291
+ export declare const DrinkActionSchema: z.ZodType<DrinkAction>;
261
292
  export interface EatAction extends Omit<ConsumeAction, '@type'> {
262
293
  '@type': 'EatAction';
263
294
  }
@@ -283,9 +314,10 @@ export type EpubCfiSelectorAndChildren = EpubCfiSelector;
283
314
  export declare const EpubCfiSelectorSchema: z.ZodType<EpubCfiSelector>;
284
315
  export interface Event extends Omit<Entity, '@type'> {
285
316
  '@type': 'Event';
286
- endTime?: Date | string;
317
+ attendee?: AgentAndChildren[];
287
318
  location?: LocationAndChildren | PlaceAndChildren;
288
- startTime?: Date | string;
319
+ scheduledEnd?: Date | string;
320
+ scheduledStart?: Date | string;
289
321
  }
290
322
  export type EventAndChildren = Event;
291
323
  export declare const EventSchema: z.ZodType<Event>;
@@ -317,18 +349,6 @@ export interface ImageObject extends Omit<MediaObject, '@type'> {
317
349
  }
318
350
  export type ImageObjectAndChildren = ImageObject;
319
351
  export declare const ImageObjectSchema: z.ZodType<ImageObject>;
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
352
  export interface JoinAction extends Omit<ExperienceAction, '@type'> {
333
353
  '@type': 'JoinAction';
334
354
  }
@@ -362,6 +382,11 @@ export interface ListenAction extends Omit<ConsumeAction, '@type'> {
362
382
  }
363
383
  export type ListenActionAndChildren = ListenAction;
364
384
  export declare const ListenActionSchema: z.ZodType<ListenAction>;
385
+ export interface StructuredValue {
386
+ '@type': 'StructuredValue';
387
+ }
388
+ export type StructuredValueAndChildren = StructuredValue | LocationAndChildren;
389
+ export declare const StructuredValueSchema: z.ZodType<StructuredValue>;
365
390
  export interface Location extends Omit<StructuredValue, '@type'> {
366
391
  '@type': 'Location';
367
392
  address?: string;
@@ -394,6 +419,11 @@ export interface MessageAction extends Omit<Action, '@type'> {
394
419
  }
395
420
  export type MessageActionAndChildren = MessageAction;
396
421
  export declare const MessageActionSchema: z.ZodType<MessageAction>;
422
+ export interface MoveAction extends Omit<Action, '@type'> {
423
+ '@type': 'MoveAction';
424
+ }
425
+ export type MoveActionAndChildren = MoveAction | NavigateActionAndChildren;
426
+ export declare const MoveActionSchema: z.ZodType<MoveAction>;
397
427
  export interface MusicAlbum extends Omit<CreativeWork, '@type'> {
398
428
  '@type': 'MusicAlbum';
399
429
  artist?: MusicGroupAndChildren[];
@@ -424,6 +454,16 @@ export interface MusicRecording extends Omit<CreativeWork, '@type'> {
424
454
  }
425
455
  export type MusicRecordingAndChildren = MusicRecording;
426
456
  export declare const MusicRecordingSchema: z.ZodType<MusicRecording>;
457
+ export interface NavigateAction extends Omit<MoveAction, '@type'> {
458
+ '@type': 'NavigateAction';
459
+ }
460
+ export type NavigateActionAndChildren = NavigateAction;
461
+ export declare const NavigateActionSchema: z.ZodType<NavigateAction>;
462
+ export interface OperatingSystem extends Omit<Software, '@type'> {
463
+ '@type': 'OperatingSystem';
464
+ }
465
+ export type OperatingSystemAndChildren = OperatingSystem;
466
+ export declare const OperatingSystemSchema: z.ZodType<OperatingSystem>;
427
467
  export interface PageSelector extends Omit<Selector, '@type'> {
428
468
  '@type': 'PageSelector';
429
469
  }
@@ -434,6 +474,11 @@ export interface Person extends Omit<Agent, '@type'> {
434
474
  }
435
475
  export type PersonAndChildren = Person;
436
476
  export declare const PersonSchema: z.ZodType<Person>;
477
+ export interface PhotographAction extends Omit<CreateAction, '@type'> {
478
+ '@type': 'PhotographAction';
479
+ }
480
+ export type PhotographActionAndChildren = PhotographAction;
481
+ export declare const PhotographActionSchema: z.ZodType<PhotographAction>;
437
482
  export interface Place extends Omit<Entity, '@type'> {
438
483
  '@type': 'Place';
439
484
  }
@@ -447,6 +492,7 @@ export declare const PlanActionSchema: z.ZodType<PlanAction>;
447
492
  export interface PodcastEpisode extends Omit<CreativeWork, '@type'> {
448
493
  '@type': 'PodcastEpisode';
449
494
  duration?: string;
495
+ transcript?: string;
450
496
  }
451
497
  export type PodcastEpisodeAndChildren = PodcastEpisode;
452
498
  export declare const PodcastEpisodeSchema: z.ZodType<PodcastEpisode>;
@@ -455,6 +501,11 @@ export interface Post extends Omit<CreativeWork, '@type'> {
455
501
  }
456
502
  export type PostAndChildren = Post;
457
503
  export declare const PostSchema: z.ZodType<Post>;
504
+ export interface ProductModel extends Omit<Entity, '@type'> {
505
+ '@type': 'ProductModel';
506
+ }
507
+ export type ProductModelAndChildren = ProductModel;
508
+ export declare const ProductModelSchema: z.ZodType<ProductModel>;
458
509
  export interface Project extends Omit<Collection, '@type'> {
459
510
  '@type': 'Project';
460
511
  }
@@ -493,27 +544,52 @@ export interface Realm extends Omit<Entity, '@type'> {
493
544
  }
494
545
  export type RealmAndChildren = Realm;
495
546
  export declare const RealmSchema: z.ZodType<Realm>;
547
+ export interface RecordAction extends Omit<CreateAction, '@type'> {
548
+ '@type': 'RecordAction';
549
+ }
550
+ export type RecordActionAndChildren = RecordAction;
551
+ export declare const RecordActionSchema: z.ZodType<RecordAction>;
552
+ export interface RejectAction extends Omit<Action, '@type'> {
553
+ '@type': 'RejectAction';
554
+ }
555
+ export type RejectActionAndChildren = RejectAction;
556
+ export declare const RejectActionSchema: z.ZodType<RejectAction>;
496
557
  export interface Relationship extends Omit<Session, '@type'> {
497
558
  '@type': 'Relationship';
498
559
  role?: string;
499
560
  }
500
561
  export type RelationshipAndChildren = Relationship;
501
562
  export declare const RelationshipSchema: z.ZodType<Relationship>;
563
+ export interface Repository extends Omit<CreativeWork, '@type'> {
564
+ '@type': 'Repository';
565
+ }
566
+ export type RepositoryAndChildren = Repository;
567
+ export declare const RepositorySchema: z.ZodType<Repository>;
502
568
  export interface RespondAction extends Omit<AssessAction, '@type'> {
503
569
  '@type': 'RespondAction';
504
570
  }
505
571
  export type RespondActionAndChildren = RespondAction;
506
572
  export declare const RespondActionSchema: z.ZodType<RespondAction>;
573
+ export interface Revision extends Omit<CreativeWork, '@type'> {
574
+ '@type': 'Revision';
575
+ }
576
+ export type RevisionAndChildren = Revision;
577
+ export declare const RevisionSchema: z.ZodType<Revision>;
507
578
  export interface SoftwareAgent extends Omit<Agent, '@type'> {
508
579
  '@type': 'SoftwareAgent';
509
580
  }
510
581
  export type SoftwareAgentAndChildren = SoftwareAgent;
511
582
  export declare const SoftwareAgentSchema: z.ZodType<SoftwareAgent>;
512
- export interface SoftwareApplication extends Omit<CreativeWork, '@type'> {
583
+ export interface SoftwareApplication extends Omit<Software, '@type'> {
513
584
  '@type': 'SoftwareApplication';
514
585
  }
515
586
  export type SoftwareApplicationAndChildren = SoftwareApplication;
516
587
  export declare const SoftwareApplicationSchema: z.ZodType<SoftwareApplication>;
588
+ export interface SoftwareSourceCode extends Omit<CreativeWork, '@type'> {
589
+ '@type': 'SoftwareSourceCode';
590
+ }
591
+ export type SoftwareSourceCodeAndChildren = SoftwareSourceCode;
592
+ export declare const SoftwareSourceCodeSchema: z.ZodType<SoftwareSourceCode>;
517
593
  export interface Tag extends Omit<Entity, '@type'> {
518
594
  '@type': 'Tag';
519
595
  color?: string;
@@ -550,6 +626,7 @@ export interface VideoObject extends Omit<MediaObject, '@type'> {
550
626
  '@type': 'VideoObject';
551
627
  duration?: string;
552
628
  height?: number;
629
+ transcript?: string;
553
630
  width?: number;
554
631
  }
555
632
  export type VideoObjectAndChildren = VideoObject;
@@ -579,10 +656,15 @@ export declare const ThreadAndChildrenSchema: z.ZodType<Thread, z.ZodTypeDef, Th
579
656
  export declare const TenureAndChildrenSchema: z.ZodType<Tenure, z.ZodTypeDef, Tenure>;
580
657
  export declare const TaskAndChildrenSchema: z.ZodType<Task, z.ZodTypeDef, Task>;
581
658
  export declare const TagAndChildrenSchema: z.ZodType<Tag, z.ZodTypeDef, Tag>;
659
+ export declare const SoftwareSourceCodeAndChildrenSchema: z.ZodType<SoftwareSourceCode, z.ZodTypeDef, SoftwareSourceCode>;
582
660
  export declare const SoftwareApplicationAndChildrenSchema: z.ZodType<SoftwareApplication, z.ZodTypeDef, SoftwareApplication>;
583
661
  export declare const SoftwareAgentAndChildrenSchema: z.ZodType<SoftwareAgent, z.ZodTypeDef, SoftwareAgent>;
662
+ export declare const RevisionAndChildrenSchema: z.ZodType<Revision, z.ZodTypeDef, Revision>;
584
663
  export declare const RespondActionAndChildrenSchema: z.ZodType<RespondAction, z.ZodTypeDef, RespondAction>;
664
+ export declare const RepositoryAndChildrenSchema: z.ZodType<Repository, z.ZodTypeDef, Repository>;
585
665
  export declare const RelationshipAndChildrenSchema: z.ZodType<Relationship, z.ZodTypeDef, Relationship>;
666
+ export declare const RejectActionAndChildrenSchema: z.ZodType<RejectAction, z.ZodTypeDef, RejectAction>;
667
+ export declare const RecordActionAndChildrenSchema: z.ZodType<RecordAction, z.ZodTypeDef, RecordAction>;
586
668
  export declare const RealmAndChildrenSchema: z.ZodType<Realm, z.ZodTypeDef, Realm>;
587
669
  export declare const ReadActionAndChildrenSchema: z.ZodType<ReadAction, z.ZodTypeDef, ReadAction>;
588
670
  export declare const QuoteActionAndChildrenSchema: z.ZodType<QuoteAction, z.ZodTypeDef, QuoteAction>;
@@ -590,30 +672,34 @@ export declare const QuotationAndChildrenSchema: z.ZodType<Quotation, z.ZodTypeD
590
672
  export declare const QueryAndChildrenSchema: z.ZodType<Query, z.ZodTypeDef, Query>;
591
673
  export declare const PublishActionAndChildrenSchema: z.ZodType<PublishAction, z.ZodTypeDef, PublishAction>;
592
674
  export declare const ProjectAndChildrenSchema: z.ZodType<Project, z.ZodTypeDef, Project>;
675
+ export declare const ProductModelAndChildrenSchema: z.ZodType<ProductModel, z.ZodTypeDef, ProductModel>;
593
676
  export declare const PostAndChildrenSchema: z.ZodType<Post, z.ZodTypeDef, Post>;
594
677
  export declare const PodcastEpisodeAndChildrenSchema: z.ZodType<PodcastEpisode, z.ZodTypeDef, PodcastEpisode>;
595
678
  export declare const PlanActionAndChildrenSchema: z.ZodType<PlanAction, z.ZodTypeDef, PlanAction>;
596
679
  export declare const PlaceAndChildrenSchema: z.ZodType<PlaceAndChildren>;
680
+ export declare const PhotographActionAndChildrenSchema: z.ZodType<PhotographAction, z.ZodTypeDef, PhotographAction>;
597
681
  export declare const PersonAndChildrenSchema: z.ZodType<Person, z.ZodTypeDef, Person>;
598
682
  export declare const PageSelectorAndChildrenSchema: z.ZodType<PageSelector, z.ZodTypeDef, PageSelector>;
683
+ export declare const OperatingSystemAndChildrenSchema: z.ZodType<OperatingSystem, z.ZodTypeDef, OperatingSystem>;
684
+ export declare const NavigateActionAndChildrenSchema: z.ZodType<NavigateAction, z.ZodTypeDef, NavigateAction>;
599
685
  export declare const MusicRecordingAndChildrenSchema: z.ZodType<MusicRecording, z.ZodTypeDef, MusicRecording>;
600
686
  export declare const MusicGroupAndChildrenSchema: z.ZodType<MusicGroup, z.ZodTypeDef, MusicGroup>;
601
687
  export declare const PerformingGroupAndChildrenSchema: z.ZodType<PerformingGroupAndChildren>;
602
688
  export declare const OrganizationAndChildrenSchema: z.ZodType<OrganizationAndChildren>;
603
689
  export declare const MusicAlbumAndChildrenSchema: z.ZodType<MusicAlbum, z.ZodTypeDef, MusicAlbum>;
690
+ export declare const MoveActionAndChildrenSchema: z.ZodType<MoveActionAndChildren>;
604
691
  export declare const MessageActionAndChildrenSchema: z.ZodType<MessageAction, z.ZodTypeDef, MessageAction>;
605
692
  export declare const MessageAndChildrenSchema: z.ZodType<Message, z.ZodTypeDef, Message>;
606
693
  export declare const MembershipAndChildrenSchema: z.ZodType<Membership, z.ZodTypeDef, Membership>;
607
694
  export declare const MealAndChildrenSchema: z.ZodType<Meal, z.ZodTypeDef, Meal>;
608
695
  export declare const LocationAndChildrenSchema: z.ZodType<Location, z.ZodTypeDef, Location>;
696
+ export declare const StructuredValueAndChildrenSchema: z.ZodType<StructuredValueAndChildren>;
609
697
  export declare const ListenActionAndChildrenSchema: z.ZodType<ListenAction, z.ZodTypeDef, ListenAction>;
610
698
  export declare const LikeActionAndChildrenSchema: z.ZodType<LikeAction, z.ZodTypeDef, LikeAction>;
611
699
  export declare const ReactActionAndChildrenSchema: z.ZodType<ReactActionAndChildren>;
612
700
  export declare const LeaveActionAndChildrenSchema: z.ZodType<LeaveAction, z.ZodTypeDef, LeaveAction>;
613
701
  export declare const JourneyAndChildrenSchema: z.ZodType<Journey, z.ZodTypeDef, Journey>;
614
702
  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>;
617
703
  export declare const ImageObjectAndChildrenSchema: z.ZodType<ImageObject, z.ZodTypeDef, ImageObject>;
618
704
  export declare const FollowActionAndChildrenSchema: z.ZodType<FollowAction, z.ZodTypeDef, FollowAction>;
619
705
  export declare const FindActionAndChildrenSchema: z.ZodType<FindAction, z.ZodTypeDef, FindAction>;
@@ -624,7 +710,7 @@ export declare const EpubCfiSelectorAndChildrenSchema: z.ZodType<EpubCfiSelector
624
710
  export declare const SelectorAndChildrenSchema: z.ZodType<SelectorAndChildren>;
625
711
  export declare const EnrollmentAndChildrenSchema: z.ZodType<Enrollment, z.ZodTypeDef, Enrollment>;
626
712
  export declare const EatActionAndChildrenSchema: z.ZodType<EatAction, z.ZodTypeDef, EatAction>;
627
- export declare const DrankActionAndChildrenSchema: z.ZodType<DrankAction, z.ZodTypeDef, DrankAction>;
713
+ export declare const DrinkActionAndChildrenSchema: z.ZodType<DrinkAction, z.ZodTypeDef, DrinkAction>;
628
714
  export declare const DocumentObjectAndChildrenSchema: z.ZodType<DocumentObject, z.ZodTypeDef, DocumentObject>;
629
715
  export declare const DirectoryAndChildrenSchema: z.ZodType<Directory, z.ZodTypeDef, Directory>;
630
716
  export declare const DeviceSessionAndChildrenSchema: z.ZodType<DeviceSession, z.ZodTypeDef, DeviceSession>;
@@ -636,9 +722,9 @@ export declare const CompleteActionAndChildrenSchema: z.ZodType<CompleteAction,
636
722
  export declare const CommentAndChildrenSchema: z.ZodType<Comment, z.ZodTypeDef, Comment>;
637
723
  export declare const ResponseAndChildrenSchema: z.ZodType<ResponseAndChildren>;
638
724
  export declare const CommandAndChildrenSchema: z.ZodType<Command, z.ZodTypeDef, Command>;
639
- export declare const CollectionAndChildrenSchema: z.ZodType<CollectionAndChildren>;
640
725
  export declare const CheckInActionAndChildrenSchema: z.ZodType<CheckInAction, z.ZodTypeDef, CheckInAction>;
641
726
  export declare const ChannelAndChildrenSchema: z.ZodType<Channel, z.ZodTypeDef, Channel>;
727
+ export declare const ChangesetAndChildrenSchema: z.ZodType<Changeset, z.ZodTypeDef, Changeset>;
642
728
  export declare const CategoryAndChildrenSchema: z.ZodType<Category, z.ZodTypeDef, Category>;
643
729
  export declare const DefinedTermAndChildrenSchema: z.ZodType<DefinedTermAndChildren>;
644
730
  export declare const IntangibleAndChildrenSchema: z.ZodType<IntangibleAndChildren>;
@@ -648,6 +734,8 @@ export declare const SessionAndChildrenSchema: z.ZodType<SessionAndChildren>;
648
734
  export declare const CallActionAndChildrenSchema: z.ZodType<CallAction, z.ZodTypeDef, CallAction>;
649
735
  export declare const CommunicateActionAndChildrenSchema: z.ZodType<CommunicateActionAndChildren>;
650
736
  export declare const InteractActionAndChildrenSchema: z.ZodType<InteractActionAndChildren>;
737
+ export declare const CalendarAndChildrenSchema: z.ZodType<Calendar, z.ZodTypeDef, Calendar>;
738
+ export declare const CollectionAndChildrenSchema: z.ZodType<CollectionAndChildren>;
651
739
  export declare const BookmarkActionAndChildrenSchema: z.ZodType<BookmarkAction, z.ZodTypeDef, BookmarkAction>;
652
740
  export declare const OrganizeActionAndChildrenSchema: z.ZodType<OrganizeActionAndChildren>;
653
741
  export declare const BookAndChildrenSchema: z.ZodType<Book, z.ZodTypeDef, Book>;
@@ -655,13 +743,16 @@ export declare const AudioObjectAndChildrenSchema: z.ZodType<AudioObject, z.ZodT
655
743
  export declare const MediaObjectAndChildrenSchema: z.ZodType<MediaObjectAndChildren>;
656
744
  export declare const AssessActionAndChildrenSchema: z.ZodType<AssessActionAndChildren>;
657
745
  export declare const ArticleAndChildrenSchema: z.ZodType<Article, z.ZodTypeDef, Article>;
658
- export declare const CreativeWorkAndChildrenSchema: z.ZodType<CreativeWorkAndChildren>;
659
746
  export declare const AnnotateActionAndChildrenSchema: z.ZodType<AnnotateAction, z.ZodTypeDef, AnnotateAction>;
660
747
  export declare const CreateActionAndChildrenSchema: z.ZodType<CreateActionAndChildren>;
661
748
  export declare const AgentAndChildrenSchema: z.ZodType<AgentAndChildren>;
662
- export declare const EntityAndChildrenSchema: z.ZodType<EntityAndChildren>;
663
749
  export declare const AddActionAndChildrenSchema: z.ZodType<AddAction, z.ZodTypeDef, AddAction>;
664
750
  export declare const UpdateActionAndChildrenSchema: z.ZodType<UpdateActionAndChildren>;
751
+ export declare const AcceptActionAndChildrenSchema: z.ZodType<AcceptAction, z.ZodTypeDef, AcceptAction>;
665
752
  export declare const ActionAndChildrenSchema: z.ZodType<ActionAndChildren>;
753
+ export declare const AIModelAndChildrenSchema: z.ZodType<AIModel, z.ZodTypeDef, AIModel>;
754
+ export declare const SoftwareAndChildrenSchema: z.ZodType<SoftwareAndChildren>;
755
+ export declare const CreativeWorkAndChildrenSchema: z.ZodType<CreativeWorkAndChildren>;
756
+ export declare const EntityAndChildrenSchema: z.ZodType<EntityAndChildren>;
666
757
  export declare const BaseAndChildrenSchema: z.ZodType<BaseAndChildren>;
667
758
  //# sourceMappingURL=schema.d.ts.map