@btrc/contracts 0.0.2

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,2781 @@
1
+ import { z } from 'zod';
2
+ export declare const ChampionshipSchema: z.ZodObject<{
3
+ id: z.ZodBranded<z.ZodString, "ChampionshipId">;
4
+ name: z.ZodString;
5
+ shortName: z.ZodString;
6
+ organiser: z.ZodNullable<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ id: string & z.BRAND<"ChampionshipId">;
9
+ name: string;
10
+ shortName: string;
11
+ organiser: string | null;
12
+ }, {
13
+ id: string;
14
+ name: string;
15
+ shortName: string;
16
+ organiser: string | null;
17
+ }>;
18
+ export type Championship = z.infer<typeof ChampionshipSchema>;
19
+ export declare const SeasonSchema: z.ZodObject<{
20
+ year: z.ZodNumber;
21
+ isComplete: z.ZodBoolean;
22
+ eventCount: z.ZodNumber;
23
+ sessionCount: z.ZodNumber;
24
+ }, "strip", z.ZodTypeAny, {
25
+ year: number;
26
+ isComplete: boolean;
27
+ eventCount: number;
28
+ sessionCount: number;
29
+ }, {
30
+ year: number;
31
+ isComplete: boolean;
32
+ eventCount: number;
33
+ sessionCount: number;
34
+ }>;
35
+ export type Season = z.infer<typeof SeasonSchema>;
36
+ export declare const CircuitLayoutSummarySchema: z.ZodObject<{
37
+ id: z.ZodBranded<z.ZodString, "CircuitLayoutId">;
38
+ name: z.ZodString;
39
+ lengthM: z.ZodNullable<z.ZodNumber>;
40
+ lengthMiles: z.ZodNullable<z.ZodNumber>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ id: string & z.BRAND<"CircuitLayoutId">;
43
+ name: string;
44
+ lengthM: number | null;
45
+ lengthMiles: number | null;
46
+ }, {
47
+ id: string;
48
+ name: string;
49
+ lengthM: number | null;
50
+ lengthMiles: number | null;
51
+ }>;
52
+ export declare const CircuitSchema: z.ZodObject<{
53
+ id: z.ZodBranded<z.ZodString, "CircuitId">;
54
+ name: z.ZodString;
55
+ countryCode: z.ZodString;
56
+ latitudeDeg: z.ZodNullable<z.ZodNumber>;
57
+ longitudeDeg: z.ZodNullable<z.ZodNumber>;
58
+ layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
59
+ id: z.ZodBranded<z.ZodString, "CircuitLayoutId">;
60
+ name: z.ZodString;
61
+ lengthM: z.ZodNullable<z.ZodNumber>;
62
+ lengthMiles: z.ZodNullable<z.ZodNumber>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ id: string & z.BRAND<"CircuitLayoutId">;
65
+ name: string;
66
+ lengthM: number | null;
67
+ lengthMiles: number | null;
68
+ }, {
69
+ id: string;
70
+ name: string;
71
+ lengthM: number | null;
72
+ lengthMiles: number | null;
73
+ }>, "many">>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ id: string & z.BRAND<"CircuitId">;
76
+ name: string;
77
+ countryCode: string;
78
+ latitudeDeg: number | null;
79
+ longitudeDeg: number | null;
80
+ layouts?: {
81
+ id: string & z.BRAND<"CircuitLayoutId">;
82
+ name: string;
83
+ lengthM: number | null;
84
+ lengthMiles: number | null;
85
+ }[] | undefined;
86
+ }, {
87
+ id: string;
88
+ name: string;
89
+ countryCode: string;
90
+ latitudeDeg: number | null;
91
+ longitudeDeg: number | null;
92
+ layouts?: {
93
+ id: string;
94
+ name: string;
95
+ lengthM: number | null;
96
+ lengthMiles: number | null;
97
+ }[] | undefined;
98
+ }>;
99
+ export type Circuit = z.infer<typeof CircuitSchema>;
100
+ export declare const CircuitLayoutSchema: z.ZodObject<{
101
+ id: z.ZodBranded<z.ZodString, "CircuitLayoutId">;
102
+ name: z.ZodString;
103
+ lengthM: z.ZodNullable<z.ZodNumber>;
104
+ lengthMiles: z.ZodNullable<z.ZodNumber>;
105
+ } & {
106
+ circuitId: z.ZodBranded<z.ZodString, "CircuitId">;
107
+ startFinishDistanceM: z.ZodNullable<z.ZodNumber>;
108
+ pitEntryDistanceM: z.ZodNullable<z.ZodNumber>;
109
+ pitExitOffsetM: z.ZodNullable<z.ZodNumber>;
110
+ pitLaneDistanceM: z.ZodNullable<z.ZodNumber>;
111
+ pitTime50KphMs: z.ZodNullable<z.ZodNumber>;
112
+ pitTime60KphMs: z.ZodNullable<z.ZodNumber>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ id: string & z.BRAND<"CircuitLayoutId">;
115
+ name: string;
116
+ lengthM: number | null;
117
+ lengthMiles: number | null;
118
+ circuitId: string & z.BRAND<"CircuitId">;
119
+ startFinishDistanceM: number | null;
120
+ pitEntryDistanceM: number | null;
121
+ pitExitOffsetM: number | null;
122
+ pitLaneDistanceM: number | null;
123
+ pitTime50KphMs: number | null;
124
+ pitTime60KphMs: number | null;
125
+ }, {
126
+ id: string;
127
+ name: string;
128
+ lengthM: number | null;
129
+ lengthMiles: number | null;
130
+ circuitId: string;
131
+ startFinishDistanceM: number | null;
132
+ pitEntryDistanceM: number | null;
133
+ pitExitOffsetM: number | null;
134
+ pitLaneDistanceM: number | null;
135
+ pitTime50KphMs: number | null;
136
+ pitTime60KphMs: number | null;
137
+ }>;
138
+ export type CircuitLayout = z.infer<typeof CircuitLayoutSchema>;
139
+ export declare const TimingPointSchema: z.ZodObject<{
140
+ id: z.ZodString;
141
+ layoutId: z.ZodBranded<z.ZodString, "CircuitLayoutId">;
142
+ name: z.ZodString;
143
+ distance: z.ZodNullable<z.ZodString>;
144
+ distanceM: z.ZodNullable<z.ZodNumber>;
145
+ offsetDescription: z.ZodNullable<z.ZodString>;
146
+ latitudeDeg: z.ZodNullable<z.ZodNumber>;
147
+ longitudeDeg: z.ZodNullable<z.ZodNumber>;
148
+ provenance: z.ZodObject<{
149
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
150
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
151
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
154
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
155
+ kind?: "derived" | "published" | undefined;
156
+ }, {
157
+ sourcePageId: string | null;
158
+ sourceDocumentId?: string | null | undefined;
159
+ kind?: "derived" | "published" | undefined;
160
+ }>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ id: string;
163
+ layoutId: string & z.BRAND<"CircuitLayoutId">;
164
+ name: string;
165
+ distance: string | null;
166
+ distanceM: number | null;
167
+ offsetDescription: string | null;
168
+ latitudeDeg: number | null;
169
+ longitudeDeg: number | null;
170
+ provenance: {
171
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
172
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
173
+ kind?: "derived" | "published" | undefined;
174
+ };
175
+ }, {
176
+ id: string;
177
+ layoutId: string;
178
+ name: string;
179
+ distance: string | null;
180
+ distanceM: number | null;
181
+ offsetDescription: string | null;
182
+ latitudeDeg: number | null;
183
+ longitudeDeg: number | null;
184
+ provenance: {
185
+ sourcePageId: string | null;
186
+ sourceDocumentId?: string | null | undefined;
187
+ kind?: "derived" | "published" | undefined;
188
+ };
189
+ }>;
190
+ export declare const CircuitFeatureSchema: z.ZodObject<{
191
+ id: z.ZodString;
192
+ layoutId: z.ZodBranded<z.ZodString, "CircuitLayoutId">;
193
+ sequence: z.ZodNumber;
194
+ name: z.ZodString;
195
+ type: z.ZodNullable<z.ZodString>;
196
+ provenance: z.ZodObject<{
197
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
198
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
199
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
202
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
203
+ kind?: "derived" | "published" | undefined;
204
+ }, {
205
+ sourcePageId: string | null;
206
+ sourceDocumentId?: string | null | undefined;
207
+ kind?: "derived" | "published" | undefined;
208
+ }>;
209
+ }, "strip", z.ZodTypeAny, {
210
+ id: string;
211
+ layoutId: string & z.BRAND<"CircuitLayoutId">;
212
+ sequence: number;
213
+ name: string;
214
+ type: string | null;
215
+ provenance: {
216
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
217
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
218
+ kind?: "derived" | "published" | undefined;
219
+ };
220
+ }, {
221
+ id: string;
222
+ layoutId: string;
223
+ sequence: number;
224
+ name: string;
225
+ type: string | null;
226
+ provenance: {
227
+ sourcePageId: string | null;
228
+ sourceDocumentId?: string | null | undefined;
229
+ kind?: "derived" | "published" | undefined;
230
+ };
231
+ }>;
232
+ export declare const EventStatusSchema: z.ZodEnum<["scheduled", "completed", "cancelled", "provisional"]>;
233
+ export declare const EventSchema: z.ZodObject<{
234
+ id: z.ZodBranded<z.ZodString, "EventId">;
235
+ championshipId: z.ZodBranded<z.ZodString, "ChampionshipId">;
236
+ seasonYear: z.ZodNumber;
237
+ circuitLayoutId: z.ZodNullable<z.ZodBranded<z.ZodString, "CircuitLayoutId">>;
238
+ timingProviderEventId: z.ZodNullable<z.ZodString>;
239
+ name: z.ZodString;
240
+ startDate: z.ZodString;
241
+ endDate: z.ZodString;
242
+ timezone: z.ZodString;
243
+ status: z.ZodEnum<["scheduled", "completed", "cancelled", "provisional"]>;
244
+ resultsIndexUrl: z.ZodNullable<z.ZodString>;
245
+ updatedAt: z.ZodString;
246
+ }, "strip", z.ZodTypeAny, {
247
+ id: string & z.BRAND<"EventId">;
248
+ championshipId: string & z.BRAND<"ChampionshipId">;
249
+ seasonYear: number;
250
+ circuitLayoutId: (string & z.BRAND<"CircuitLayoutId">) | null;
251
+ timingProviderEventId: string | null;
252
+ name: string;
253
+ startDate: string;
254
+ endDate: string;
255
+ timezone: string;
256
+ status: "cancelled" | "completed" | "provisional" | "scheduled";
257
+ resultsIndexUrl: string | null;
258
+ updatedAt: string;
259
+ }, {
260
+ id: string;
261
+ championshipId: string;
262
+ seasonYear: number;
263
+ circuitLayoutId: string | null;
264
+ timingProviderEventId: string | null;
265
+ name: string;
266
+ startDate: string;
267
+ endDate: string;
268
+ timezone: string;
269
+ status: "cancelled" | "completed" | "provisional" | "scheduled";
270
+ resultsIndexUrl: string | null;
271
+ updatedAt: string;
272
+ }>;
273
+ export type Event = z.infer<typeof EventSchema>;
274
+ export declare const SessionTypeSchema: z.ZodEnum<["practice", "qualifying", "warmup", "race", "test", "other"]>;
275
+ export declare const SessionStatusSchema: z.ZodEnum<["scheduled", "provisional", "official", "cancelled", "abandoned"]>;
276
+ export declare const SessionSchema: z.ZodObject<{
277
+ id: z.ZodBranded<z.ZodString, "SessionId">;
278
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
279
+ code: z.ZodNullable<z.ZodString>;
280
+ name: z.ZodString;
281
+ type: z.ZodEnum<["practice", "qualifying", "warmup", "race", "test", "other"]>;
282
+ weekendRaceNumber: z.ZodNullable<z.ZodNumber>;
283
+ championshipRoundNumber: z.ZodNullable<z.ZodNumber>;
284
+ scheduledStart: z.ZodNullable<z.ZodString>;
285
+ actualStart: z.ZodNullable<z.ZodString>;
286
+ finishTime: z.ZodNullable<z.ZodString>;
287
+ competitorsStarted: z.ZodNullable<z.ZodNumber>;
288
+ totalLaps: z.ZodNullable<z.ZodNumber>;
289
+ totalDistanceMiles: z.ZodNullable<z.ZodNumber>;
290
+ weather: z.ZodNullable<z.ZodString>;
291
+ trackCondition: z.ZodNullable<z.ZodString>;
292
+ status: z.ZodEnum<["scheduled", "provisional", "official", "cancelled", "abandoned"]>;
293
+ publicationVersion: z.ZodString;
294
+ updatedAt: z.ZodString;
295
+ }, "strip", z.ZodTypeAny, {
296
+ id: string & z.BRAND<"SessionId">;
297
+ eventId: string & z.BRAND<"EventId">;
298
+ code: string | null;
299
+ name: string;
300
+ type: "other" | "practice" | "qualifying" | "race" | "test" | "warmup";
301
+ weekendRaceNumber: number | null;
302
+ championshipRoundNumber: number | null;
303
+ scheduledStart: string | null;
304
+ actualStart: string | null;
305
+ finishTime: string | null;
306
+ competitorsStarted: number | null;
307
+ totalLaps: number | null;
308
+ totalDistanceMiles: number | null;
309
+ weather: string | null;
310
+ trackCondition: string | null;
311
+ status: "abandoned" | "cancelled" | "official" | "provisional" | "scheduled";
312
+ publicationVersion: string;
313
+ updatedAt: string;
314
+ }, {
315
+ id: string;
316
+ eventId: string;
317
+ code: string | null;
318
+ name: string;
319
+ type: "other" | "practice" | "qualifying" | "race" | "test" | "warmup";
320
+ weekendRaceNumber: number | null;
321
+ championshipRoundNumber: number | null;
322
+ scheduledStart: string | null;
323
+ actualStart: string | null;
324
+ finishTime: string | null;
325
+ competitorsStarted: number | null;
326
+ totalLaps: number | null;
327
+ totalDistanceMiles: number | null;
328
+ weather: string | null;
329
+ trackCondition: string | null;
330
+ status: "abandoned" | "cancelled" | "official" | "provisional" | "scheduled";
331
+ publicationVersion: string;
332
+ updatedAt: string;
333
+ }>;
334
+ export type Session = z.infer<typeof SessionSchema>;
335
+ export declare const DriverSchema: z.ZodObject<{
336
+ id: z.ZodBranded<z.ZodString, "DriverId">;
337
+ name: z.ZodString;
338
+ givenName: z.ZodNullable<z.ZodString>;
339
+ familyName: z.ZodNullable<z.ZodString>;
340
+ nationalityCode: z.ZodNullable<z.ZodString>;
341
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ id: string & z.BRAND<"DriverId">;
344
+ name: string;
345
+ givenName: string | null;
346
+ familyName: string | null;
347
+ nationalityCode: string | null;
348
+ aliases?: string[] | undefined;
349
+ }, {
350
+ id: string;
351
+ name: string;
352
+ givenName: string | null;
353
+ familyName: string | null;
354
+ nationalityCode: string | null;
355
+ aliases?: string[] | undefined;
356
+ }>;
357
+ export type Driver = z.infer<typeof DriverSchema>;
358
+ export declare const TeamSchema: z.ZodObject<{
359
+ id: z.ZodBranded<z.ZodString, "TeamId">;
360
+ name: z.ZodString;
361
+ }, "strip", z.ZodTypeAny, {
362
+ id: string & z.BRAND<"TeamId">;
363
+ name: string;
364
+ }, {
365
+ id: string;
366
+ name: string;
367
+ }>;
368
+ export declare const VehicleSchema: z.ZodObject<{
369
+ id: z.ZodBranded<z.ZodString, "VehicleId">;
370
+ manufacturer: z.ZodNullable<z.ZodString>;
371
+ model: z.ZodNullable<z.ZodString>;
372
+ description: z.ZodString;
373
+ }, "strip", z.ZodTypeAny, {
374
+ id: string & z.BRAND<"VehicleId">;
375
+ manufacturer: string | null;
376
+ model: string | null;
377
+ description: string;
378
+ }, {
379
+ id: string;
380
+ manufacturer: string | null;
381
+ model: string | null;
382
+ description: string;
383
+ }>;
384
+ export declare const EntrySchema: z.ZodObject<{
385
+ id: z.ZodBranded<z.ZodString, "EntryId">;
386
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
387
+ driverId: z.ZodBranded<z.ZodString, "DriverId">;
388
+ teamId: z.ZodNullable<z.ZodBranded<z.ZodString, "TeamId">>;
389
+ vehicleId: z.ZodNullable<z.ZodBranded<z.ZodString, "VehicleId">>;
390
+ raceNumber: z.ZodString;
391
+ competitionClass: z.ZodNullable<z.ZodString>;
392
+ transponder: z.ZodNullable<z.ZodString>;
393
+ provenance: z.ZodObject<{
394
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
395
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
396
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
399
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
400
+ kind?: "derived" | "published" | undefined;
401
+ }, {
402
+ sourcePageId: string | null;
403
+ sourceDocumentId?: string | null | undefined;
404
+ kind?: "derived" | "published" | undefined;
405
+ }>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ id: string & z.BRAND<"EntryId">;
408
+ eventId: string & z.BRAND<"EventId">;
409
+ driverId: string & z.BRAND<"DriverId">;
410
+ teamId: (string & z.BRAND<"TeamId">) | null;
411
+ vehicleId: (string & z.BRAND<"VehicleId">) | null;
412
+ raceNumber: string;
413
+ competitionClass: string | null;
414
+ transponder: string | null;
415
+ provenance: {
416
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
417
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
418
+ kind?: "derived" | "published" | undefined;
419
+ };
420
+ }, {
421
+ id: string;
422
+ eventId: string;
423
+ driverId: string;
424
+ teamId: string | null;
425
+ vehicleId: string | null;
426
+ raceNumber: string;
427
+ competitionClass: string | null;
428
+ transponder: string | null;
429
+ provenance: {
430
+ sourcePageId: string | null;
431
+ sourceDocumentId?: string | null | undefined;
432
+ kind?: "derived" | "published" | undefined;
433
+ };
434
+ }>;
435
+ export type Entry = z.infer<typeof EntrySchema>;
436
+ export declare const SectorTimeSchema: z.ZodObject<{
437
+ id: z.ZodString;
438
+ lapId: z.ZodBranded<z.ZodString, "LapId">;
439
+ sectorNumber: z.ZodNumber;
440
+ time: z.ZodNullable<z.ZodString>;
441
+ timeMs: z.ZodNullable<z.ZodNumber>;
442
+ isPersonalBest: z.ZodNullable<z.ZodBoolean>;
443
+ isSessionBest: z.ZodNullable<z.ZodBoolean>;
444
+ provenance: z.ZodObject<{
445
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
446
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
447
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
450
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
451
+ kind?: "derived" | "published" | undefined;
452
+ }, {
453
+ sourcePageId: string | null;
454
+ sourceDocumentId?: string | null | undefined;
455
+ kind?: "derived" | "published" | undefined;
456
+ }>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ id: string;
459
+ lapId: string & z.BRAND<"LapId">;
460
+ sectorNumber: number;
461
+ time: string | null;
462
+ timeMs: number | null;
463
+ isPersonalBest: boolean | null;
464
+ isSessionBest: boolean | null;
465
+ provenance: {
466
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
467
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
468
+ kind?: "derived" | "published" | undefined;
469
+ };
470
+ }, {
471
+ id: string;
472
+ lapId: string;
473
+ sectorNumber: number;
474
+ time: string | null;
475
+ timeMs: number | null;
476
+ isPersonalBest: boolean | null;
477
+ isSessionBest: boolean | null;
478
+ provenance: {
479
+ sourcePageId: string | null;
480
+ sourceDocumentId?: string | null | undefined;
481
+ kind?: "derived" | "published" | undefined;
482
+ };
483
+ }>;
484
+ export type SectorTime = z.infer<typeof SectorTimeSchema>;
485
+ export declare const LapSchema: z.ZodObject<{
486
+ id: z.ZodBranded<z.ZodString, "LapId">;
487
+ sessionId: z.ZodBranded<z.ZodString, "SessionId">;
488
+ entryId: z.ZodBranded<z.ZodString, "EntryId">;
489
+ lapNumber: z.ZodNumber;
490
+ sessionPosition: z.ZodNullable<z.ZodNumber>;
491
+ lapRank: z.ZodNullable<z.ZodNumber>;
492
+ lapTime: z.ZodNullable<z.ZodString>;
493
+ lapTimeMs: z.ZodNullable<z.ZodNumber>;
494
+ elapsedTimeMs: z.ZodNullable<z.ZodNumber>;
495
+ averageMph: z.ZodNullable<z.ZodNumber>;
496
+ personalBestDiff: z.ZodNullable<z.ZodString>;
497
+ personalBestDiffMs: z.ZodNullable<z.ZodNumber>;
498
+ timeOfDay: z.ZodNullable<z.ZodString>;
499
+ pitMarker: z.ZodNullable<z.ZodString>;
500
+ isDisallowed: z.ZodBoolean;
501
+ isOutLap: z.ZodBoolean;
502
+ isInPit: z.ZodBoolean;
503
+ sectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
504
+ id: z.ZodString;
505
+ lapId: z.ZodBranded<z.ZodString, "LapId">;
506
+ sectorNumber: z.ZodNumber;
507
+ time: z.ZodNullable<z.ZodString>;
508
+ timeMs: z.ZodNullable<z.ZodNumber>;
509
+ isPersonalBest: z.ZodNullable<z.ZodBoolean>;
510
+ isSessionBest: z.ZodNullable<z.ZodBoolean>;
511
+ provenance: z.ZodObject<{
512
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
513
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
514
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
517
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
518
+ kind?: "derived" | "published" | undefined;
519
+ }, {
520
+ sourcePageId: string | null;
521
+ sourceDocumentId?: string | null | undefined;
522
+ kind?: "derived" | "published" | undefined;
523
+ }>;
524
+ }, "strip", z.ZodTypeAny, {
525
+ id: string;
526
+ lapId: string & z.BRAND<"LapId">;
527
+ sectorNumber: number;
528
+ time: string | null;
529
+ timeMs: number | null;
530
+ isPersonalBest: boolean | null;
531
+ isSessionBest: boolean | null;
532
+ provenance: {
533
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
534
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
535
+ kind?: "derived" | "published" | undefined;
536
+ };
537
+ }, {
538
+ id: string;
539
+ lapId: string;
540
+ sectorNumber: number;
541
+ time: string | null;
542
+ timeMs: number | null;
543
+ isPersonalBest: boolean | null;
544
+ isSessionBest: boolean | null;
545
+ provenance: {
546
+ sourcePageId: string | null;
547
+ sourceDocumentId?: string | null | undefined;
548
+ kind?: "derived" | "published" | undefined;
549
+ };
550
+ }>, "many">>;
551
+ quality: z.ZodObject<{
552
+ status: z.ZodEnum<["unchecked", "verified", "exception", "not_applicable", "provisional"]>;
553
+ checkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
+ pipelineVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ status: "exception" | "not_applicable" | "provisional" | "unchecked" | "verified";
557
+ checkedAt?: string | null | undefined;
558
+ pipelineVersion?: string | null | undefined;
559
+ }, {
560
+ status: "exception" | "not_applicable" | "provisional" | "unchecked" | "verified";
561
+ checkedAt?: string | null | undefined;
562
+ pipelineVersion?: string | null | undefined;
563
+ }>;
564
+ provenance: z.ZodObject<{
565
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
566
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
567
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
570
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
571
+ kind?: "derived" | "published" | undefined;
572
+ }, {
573
+ sourcePageId: string | null;
574
+ sourceDocumentId?: string | null | undefined;
575
+ kind?: "derived" | "published" | undefined;
576
+ }>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ id: string & z.BRAND<"LapId">;
579
+ sessionId: string & z.BRAND<"SessionId">;
580
+ entryId: string & z.BRAND<"EntryId">;
581
+ lapNumber: number;
582
+ sessionPosition: number | null;
583
+ lapRank: number | null;
584
+ lapTime: string | null;
585
+ lapTimeMs: number | null;
586
+ elapsedTimeMs: number | null;
587
+ averageMph: number | null;
588
+ personalBestDiff: string | null;
589
+ personalBestDiffMs: number | null;
590
+ timeOfDay: string | null;
591
+ pitMarker: string | null;
592
+ isDisallowed: boolean;
593
+ isOutLap: boolean;
594
+ isInPit: boolean;
595
+ sectors?: {
596
+ id: string;
597
+ lapId: string & z.BRAND<"LapId">;
598
+ sectorNumber: number;
599
+ time: string | null;
600
+ timeMs: number | null;
601
+ isPersonalBest: boolean | null;
602
+ isSessionBest: boolean | null;
603
+ provenance: {
604
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
605
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
606
+ kind?: "derived" | "published" | undefined;
607
+ };
608
+ }[] | undefined;
609
+ quality: {
610
+ status: "exception" | "not_applicable" | "provisional" | "unchecked" | "verified";
611
+ checkedAt?: string | null | undefined;
612
+ pipelineVersion?: string | null | undefined;
613
+ };
614
+ provenance: {
615
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
616
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
617
+ kind?: "derived" | "published" | undefined;
618
+ };
619
+ }, {
620
+ id: string;
621
+ sessionId: string;
622
+ entryId: string;
623
+ lapNumber: number;
624
+ sessionPosition: number | null;
625
+ lapRank: number | null;
626
+ lapTime: string | null;
627
+ lapTimeMs: number | null;
628
+ elapsedTimeMs: number | null;
629
+ averageMph: number | null;
630
+ personalBestDiff: string | null;
631
+ personalBestDiffMs: number | null;
632
+ timeOfDay: string | null;
633
+ pitMarker: string | null;
634
+ isDisallowed: boolean;
635
+ isOutLap: boolean;
636
+ isInPit: boolean;
637
+ sectors?: {
638
+ id: string;
639
+ lapId: string;
640
+ sectorNumber: number;
641
+ time: string | null;
642
+ timeMs: number | null;
643
+ isPersonalBest: boolean | null;
644
+ isSessionBest: boolean | null;
645
+ provenance: {
646
+ sourcePageId: string | null;
647
+ sourceDocumentId?: string | null | undefined;
648
+ kind?: "derived" | "published" | undefined;
649
+ };
650
+ }[] | undefined;
651
+ quality: {
652
+ status: "exception" | "not_applicable" | "provisional" | "unchecked" | "verified";
653
+ checkedAt?: string | null | undefined;
654
+ pipelineVersion?: string | null | undefined;
655
+ };
656
+ provenance: {
657
+ sourcePageId: string | null;
658
+ sourceDocumentId?: string | null | undefined;
659
+ kind?: "derived" | "published" | undefined;
660
+ };
661
+ }>;
662
+ export type Lap = z.infer<typeof LapSchema>;
663
+ export declare const ClassificationSchema: z.ZodObject<{
664
+ id: z.ZodString;
665
+ sessionId: z.ZodBranded<z.ZodString, "SessionId">;
666
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
667
+ publicationVersion: z.ZodString;
668
+ status: z.ZodNullable<z.ZodString>;
669
+ position: z.ZodNullable<z.ZodNumber>;
670
+ classPosition: z.ZodNullable<z.ZodNumber>;
671
+ laps: z.ZodNullable<z.ZodNumber>;
672
+ time: z.ZodNullable<z.ZodString>;
673
+ timeMs: z.ZodNullable<z.ZodNumber>;
674
+ gap: z.ZodNullable<z.ZodString>;
675
+ gapMs: z.ZodNullable<z.ZodNumber>;
676
+ difference: z.ZodNullable<z.ZodString>;
677
+ differenceMs: z.ZodNullable<z.ZodNumber>;
678
+ averageMph: z.ZodNullable<z.ZodNumber>;
679
+ bestLap: z.ZodNullable<z.ZodString>;
680
+ bestLapMs: z.ZodNullable<z.ZodNumber>;
681
+ bestOnLap: z.ZodNullable<z.ZodNumber>;
682
+ gridPosition: z.ZodNullable<z.ZodNumber>;
683
+ positionsChanged: z.ZodNullable<z.ZodNumber>;
684
+ rawNumber: z.ZodNullable<z.ZodString>;
685
+ rawDriverName: z.ZodNullable<z.ZodString>;
686
+ rawVehicle: z.ZodNullable<z.ZodString>;
687
+ provenance: z.ZodObject<{
688
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
689
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
690
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
691
+ }, "strip", z.ZodTypeAny, {
692
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
693
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
694
+ kind?: "derived" | "published" | undefined;
695
+ }, {
696
+ sourcePageId: string | null;
697
+ sourceDocumentId?: string | null | undefined;
698
+ kind?: "derived" | "published" | undefined;
699
+ }>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ id: string;
702
+ sessionId: string & z.BRAND<"SessionId">;
703
+ entryId: (string & z.BRAND<"EntryId">) | null;
704
+ publicationVersion: string;
705
+ status: string | null;
706
+ position: number | null;
707
+ classPosition: number | null;
708
+ laps: number | null;
709
+ time: string | null;
710
+ timeMs: number | null;
711
+ gap: string | null;
712
+ gapMs: number | null;
713
+ difference: string | null;
714
+ differenceMs: number | null;
715
+ averageMph: number | null;
716
+ bestLap: string | null;
717
+ bestLapMs: number | null;
718
+ bestOnLap: number | null;
719
+ gridPosition: number | null;
720
+ positionsChanged: number | null;
721
+ rawNumber: string | null;
722
+ rawDriverName: string | null;
723
+ rawVehicle: string | null;
724
+ provenance: {
725
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
726
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
727
+ kind?: "derived" | "published" | undefined;
728
+ };
729
+ }, {
730
+ id: string;
731
+ sessionId: string;
732
+ entryId: string | null;
733
+ publicationVersion: string;
734
+ status: string | null;
735
+ position: number | null;
736
+ classPosition: number | null;
737
+ laps: number | null;
738
+ time: string | null;
739
+ timeMs: number | null;
740
+ gap: string | null;
741
+ gapMs: number | null;
742
+ difference: string | null;
743
+ differenceMs: number | null;
744
+ averageMph: number | null;
745
+ bestLap: string | null;
746
+ bestLapMs: number | null;
747
+ bestOnLap: number | null;
748
+ gridPosition: number | null;
749
+ positionsChanged: number | null;
750
+ rawNumber: string | null;
751
+ rawDriverName: string | null;
752
+ rawVehicle: string | null;
753
+ provenance: {
754
+ sourcePageId: string | null;
755
+ sourceDocumentId?: string | null | undefined;
756
+ kind?: "derived" | "published" | undefined;
757
+ };
758
+ }>;
759
+ export declare const GridEntrySchema: z.ZodObject<{
760
+ id: z.ZodString;
761
+ sessionId: z.ZodBranded<z.ZodString, "SessionId">;
762
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
763
+ publicationVersion: z.ZodString;
764
+ position: z.ZodNullable<z.ZodNumber>;
765
+ row: z.ZodNullable<z.ZodNumber>;
766
+ side: z.ZodNullable<z.ZodString>;
767
+ qualifyingTime: z.ZodNullable<z.ZodString>;
768
+ qualifyingTimeMs: z.ZodNullable<z.ZodNumber>;
769
+ startInstruction: z.ZodNullable<z.ZodString>;
770
+ rawNumber: z.ZodNullable<z.ZodString>;
771
+ rawDriverName: z.ZodNullable<z.ZodString>;
772
+ provenance: z.ZodObject<{
773
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
774
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
775
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
778
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
779
+ kind?: "derived" | "published" | undefined;
780
+ }, {
781
+ sourcePageId: string | null;
782
+ sourceDocumentId?: string | null | undefined;
783
+ kind?: "derived" | "published" | undefined;
784
+ }>;
785
+ }, "strip", z.ZodTypeAny, {
786
+ id: string;
787
+ sessionId: string & z.BRAND<"SessionId">;
788
+ entryId: (string & z.BRAND<"EntryId">) | null;
789
+ publicationVersion: string;
790
+ position: number | null;
791
+ row: number | null;
792
+ side: string | null;
793
+ qualifyingTime: string | null;
794
+ qualifyingTimeMs: number | null;
795
+ startInstruction: string | null;
796
+ rawNumber: string | null;
797
+ rawDriverName: string | null;
798
+ provenance: {
799
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
800
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
801
+ kind?: "derived" | "published" | undefined;
802
+ };
803
+ }, {
804
+ id: string;
805
+ sessionId: string;
806
+ entryId: string | null;
807
+ publicationVersion: string;
808
+ position: number | null;
809
+ row: number | null;
810
+ side: string | null;
811
+ qualifyingTime: string | null;
812
+ qualifyingTimeMs: number | null;
813
+ startInstruction: string | null;
814
+ rawNumber: string | null;
815
+ rawDriverName: string | null;
816
+ provenance: {
817
+ sourcePageId: string | null;
818
+ sourceDocumentId?: string | null | undefined;
819
+ kind?: "derived" | "published" | undefined;
820
+ };
821
+ }>;
822
+ export declare const RunningOrderSchema: z.ZodObject<{
823
+ id: z.ZodString;
824
+ sessionId: z.ZodBranded<z.ZodString, "SessionId">;
825
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
826
+ lapNumber: z.ZodNullable<z.ZodNumber>;
827
+ timingPoint: z.ZodString;
828
+ position: z.ZodNumber;
829
+ lapTime: z.ZodNullable<z.ZodString>;
830
+ lapTimeMs: z.ZodNullable<z.ZodNumber>;
831
+ behind: z.ZodNullable<z.ZodString>;
832
+ behindMs: z.ZodNullable<z.ZodNumber>;
833
+ crossingTime: z.ZodNullable<z.ZodString>;
834
+ provenance: z.ZodObject<{
835
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
836
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
837
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
838
+ }, "strip", z.ZodTypeAny, {
839
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
840
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
841
+ kind?: "derived" | "published" | undefined;
842
+ }, {
843
+ sourcePageId: string | null;
844
+ sourceDocumentId?: string | null | undefined;
845
+ kind?: "derived" | "published" | undefined;
846
+ }>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ id: string;
849
+ sessionId: string & z.BRAND<"SessionId">;
850
+ entryId: (string & z.BRAND<"EntryId">) | null;
851
+ lapNumber: number | null;
852
+ timingPoint: string;
853
+ position: number;
854
+ lapTime: string | null;
855
+ lapTimeMs: number | null;
856
+ behind: string | null;
857
+ behindMs: number | null;
858
+ crossingTime: string | null;
859
+ provenance: {
860
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
861
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
862
+ kind?: "derived" | "published" | undefined;
863
+ };
864
+ }, {
865
+ id: string;
866
+ sessionId: string;
867
+ entryId: string | null;
868
+ lapNumber: number | null;
869
+ timingPoint: string;
870
+ position: number;
871
+ lapTime: string | null;
872
+ lapTimeMs: number | null;
873
+ behind: string | null;
874
+ behindMs: number | null;
875
+ crossingTime: string | null;
876
+ provenance: {
877
+ sourcePageId: string | null;
878
+ sourceDocumentId?: string | null | undefined;
879
+ kind?: "derived" | "published" | undefined;
880
+ };
881
+ }>;
882
+ export declare const FlagSchema: z.ZodObject<{
883
+ id: z.ZodString;
884
+ sessionId: z.ZodBranded<z.ZodString, "SessionId">;
885
+ recordType: z.ZodNullable<z.ZodString>;
886
+ type: z.ZodString;
887
+ timeOfDay: z.ZodNullable<z.ZodString>;
888
+ occurrenceCount: z.ZodNullable<z.ZodNumber>;
889
+ totalLaps: z.ZodNullable<z.ZodNumber>;
890
+ totalTime: z.ZodNullable<z.ZodString>;
891
+ totalTimeMs: z.ZodNullable<z.ZodNumber>;
892
+ provenance: z.ZodObject<{
893
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
894
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
895
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
896
+ }, "strip", z.ZodTypeAny, {
897
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
898
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
899
+ kind?: "derived" | "published" | undefined;
900
+ }, {
901
+ sourcePageId: string | null;
902
+ sourceDocumentId?: string | null | undefined;
903
+ kind?: "derived" | "published" | undefined;
904
+ }>;
905
+ }, "strip", z.ZodTypeAny, {
906
+ id: string;
907
+ sessionId: string & z.BRAND<"SessionId">;
908
+ recordType: string | null;
909
+ type: string;
910
+ timeOfDay: string | null;
911
+ occurrenceCount: number | null;
912
+ totalLaps: number | null;
913
+ totalTime: string | null;
914
+ totalTimeMs: number | null;
915
+ provenance: {
916
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
917
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
918
+ kind?: "derived" | "published" | undefined;
919
+ };
920
+ }, {
921
+ id: string;
922
+ sessionId: string;
923
+ recordType: string | null;
924
+ type: string;
925
+ timeOfDay: string | null;
926
+ occurrenceCount: number | null;
927
+ totalLaps: number | null;
928
+ totalTime: string | null;
929
+ totalTimeMs: number | null;
930
+ provenance: {
931
+ sourcePageId: string | null;
932
+ sourceDocumentId?: string | null | undefined;
933
+ kind?: "derived" | "published" | undefined;
934
+ };
935
+ }>;
936
+ export declare const PenaltySchema: z.ZodObject<{
937
+ id: z.ZodString;
938
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
939
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
940
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
941
+ decisionNumber: z.ZodNullable<z.ZodString>;
942
+ infringement: z.ZodNullable<z.ZodString>;
943
+ penalty: z.ZodString;
944
+ positionPenalty: z.ZodNullable<z.ZodNumber>;
945
+ timePenaltyMs: z.ZodNullable<z.ZodNumber>;
946
+ pointsPenalty: z.ZodNullable<z.ZodNumber>;
947
+ decisionTime: z.ZodNullable<z.ZodString>;
948
+ status: z.ZodNullable<z.ZodString>;
949
+ provenance: z.ZodObject<{
950
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
951
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
952
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
955
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
956
+ kind?: "derived" | "published" | undefined;
957
+ }, {
958
+ sourcePageId: string | null;
959
+ sourceDocumentId?: string | null | undefined;
960
+ kind?: "derived" | "published" | undefined;
961
+ }>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ id: string;
964
+ eventId: string & z.BRAND<"EventId">;
965
+ sessionId: (string & z.BRAND<"SessionId">) | null;
966
+ entryId: (string & z.BRAND<"EntryId">) | null;
967
+ decisionNumber: string | null;
968
+ infringement: string | null;
969
+ penalty: string;
970
+ positionPenalty: number | null;
971
+ timePenaltyMs: number | null;
972
+ pointsPenalty: number | null;
973
+ decisionTime: string | null;
974
+ status: string | null;
975
+ provenance: {
976
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
977
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
978
+ kind?: "derived" | "published" | undefined;
979
+ };
980
+ }, {
981
+ id: string;
982
+ eventId: string;
983
+ sessionId: string | null;
984
+ entryId: string | null;
985
+ decisionNumber: string | null;
986
+ infringement: string | null;
987
+ penalty: string;
988
+ positionPenalty: number | null;
989
+ timePenaltyMs: number | null;
990
+ pointsPenalty: number | null;
991
+ decisionTime: string | null;
992
+ status: string | null;
993
+ provenance: {
994
+ sourcePageId: string | null;
995
+ sourceDocumentId?: string | null | undefined;
996
+ kind?: "derived" | "published" | undefined;
997
+ };
998
+ }>;
999
+ export declare const StandingSchema: z.ZodObject<{
1000
+ seasonYear: z.ZodNumber;
1001
+ competitionClass: z.ZodEnum<["class-1", "class-2"]>;
1002
+ position: z.ZodNumber;
1003
+ driverId: z.ZodBranded<z.ZodString, "DriverId">;
1004
+ driverName: z.ZodString;
1005
+ points: z.ZodNumber;
1006
+ starts: z.ZodNumber;
1007
+ wins: z.ZodNumber;
1008
+ podiums: z.ZodNumber;
1009
+ fastestLaps: z.ZodNumber;
1010
+ calculationVersion: z.ZodString;
1011
+ asOf: z.ZodString;
1012
+ isVerified: z.ZodBoolean;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ seasonYear: number;
1015
+ competitionClass: "class-1" | "class-2";
1016
+ position: number;
1017
+ driverId: string & z.BRAND<"DriverId">;
1018
+ driverName: string;
1019
+ points: number;
1020
+ starts: number;
1021
+ wins: number;
1022
+ podiums: number;
1023
+ fastestLaps: number;
1024
+ calculationVersion: string;
1025
+ asOf: string;
1026
+ isVerified: boolean;
1027
+ }, {
1028
+ seasonYear: number;
1029
+ competitionClass: "class-1" | "class-2";
1030
+ position: number;
1031
+ driverId: string;
1032
+ driverName: string;
1033
+ points: number;
1034
+ starts: number;
1035
+ wins: number;
1036
+ podiums: number;
1037
+ fastestLaps: number;
1038
+ calculationVersion: string;
1039
+ asOf: string;
1040
+ isVerified: boolean;
1041
+ }>;
1042
+ export declare const AnalysisMetricSchema: z.ZodObject<{
1043
+ entryId: z.ZodBranded<z.ZodString, "EntryId">;
1044
+ driverId: z.ZodBranded<z.ZodString, "DriverId">;
1045
+ raceNumber: z.ZodString;
1046
+ sampleSize: z.ZodNumber;
1047
+ bestLapMs: z.ZodNullable<z.ZodNumber>;
1048
+ meanLapMs: z.ZodNullable<z.ZodNumber>;
1049
+ medianLapMs: z.ZodNullable<z.ZodNumber>;
1050
+ standardDeviationMs: z.ZodNullable<z.ZodNumber>;
1051
+ coefficientOfVariation: z.ZodNullable<z.ZodNumber>;
1052
+ percentile25Ms: z.ZodNullable<z.ZodNumber>;
1053
+ percentile75Ms: z.ZodNullable<z.ZodNumber>;
1054
+ theoreticalBestMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ entryId: string & z.BRAND<"EntryId">;
1057
+ driverId: string & z.BRAND<"DriverId">;
1058
+ raceNumber: string;
1059
+ sampleSize: number;
1060
+ bestLapMs: number | null;
1061
+ meanLapMs: number | null;
1062
+ medianLapMs: number | null;
1063
+ standardDeviationMs: number | null;
1064
+ coefficientOfVariation: number | null;
1065
+ percentile25Ms: number | null;
1066
+ percentile75Ms: number | null;
1067
+ theoreticalBestMs?: number | null | undefined;
1068
+ }, {
1069
+ entryId: string;
1070
+ driverId: string;
1071
+ raceNumber: string;
1072
+ sampleSize: number;
1073
+ bestLapMs: number | null;
1074
+ meanLapMs: number | null;
1075
+ medianLapMs: number | null;
1076
+ standardDeviationMs: number | null;
1077
+ coefficientOfVariation: number | null;
1078
+ percentile25Ms: number | null;
1079
+ percentile75Ms: number | null;
1080
+ theoreticalBestMs?: number | null | undefined;
1081
+ }>;
1082
+ export declare const SourceDocumentSchema: z.ZodObject<{
1083
+ id: z.ZodBranded<z.ZodString, "SourceDocumentId">;
1084
+ eventId: z.ZodNullable<z.ZodBranded<z.ZodString, "EventId">>;
1085
+ provider: z.ZodString;
1086
+ type: z.ZodString;
1087
+ publicationVersion: z.ZodString;
1088
+ sourceUrl: z.ZodString;
1089
+ fileName: z.ZodNullable<z.ZodString>;
1090
+ sha256: z.ZodNullable<z.ZodString>;
1091
+ byteSize: z.ZodNullable<z.ZodNumber>;
1092
+ pageCount: z.ZodNullable<z.ZodNumber>;
1093
+ publishedAt: z.ZodNullable<z.ZodString>;
1094
+ discoveredAt: z.ZodString;
1095
+ downloadedAt: z.ZodNullable<z.ZodString>;
1096
+ status: z.ZodString;
1097
+ isCurrent: z.ZodBoolean;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ id: string & z.BRAND<"SourceDocumentId">;
1100
+ eventId: (string & z.BRAND<"EventId">) | null;
1101
+ provider: string;
1102
+ type: string;
1103
+ publicationVersion: string;
1104
+ sourceUrl: string;
1105
+ fileName: string | null;
1106
+ sha256: string | null;
1107
+ byteSize: number | null;
1108
+ pageCount: number | null;
1109
+ publishedAt: string | null;
1110
+ discoveredAt: string;
1111
+ downloadedAt: string | null;
1112
+ status: string;
1113
+ isCurrent: boolean;
1114
+ }, {
1115
+ id: string;
1116
+ eventId: string | null;
1117
+ provider: string;
1118
+ type: string;
1119
+ publicationVersion: string;
1120
+ sourceUrl: string;
1121
+ fileName: string | null;
1122
+ sha256: string | null;
1123
+ byteSize: number | null;
1124
+ pageCount: number | null;
1125
+ publishedAt: string | null;
1126
+ discoveredAt: string;
1127
+ downloadedAt: string | null;
1128
+ status: string;
1129
+ isCurrent: boolean;
1130
+ }>;
1131
+ export declare const SourcePageSchema: z.ZodObject<{
1132
+ id: z.ZodBranded<z.ZodString, "SourcePageId">;
1133
+ documentId: z.ZodBranded<z.ZodString, "SourceDocumentId">;
1134
+ pageNumber: z.ZodNumber;
1135
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
1136
+ reportType: z.ZodNullable<z.ZodString>;
1137
+ reportTitle: z.ZodNullable<z.ZodString>;
1138
+ publicationVersion: z.ZodNullable<z.ZodString>;
1139
+ imageSha256: z.ZodNullable<z.ZodString>;
1140
+ widthPx: z.ZodNullable<z.ZodNumber>;
1141
+ heightPx: z.ZodNullable<z.ZodNumber>;
1142
+ dpi: z.ZodNullable<z.ZodNumber>;
1143
+ extractionStatus: z.ZodString;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ id: string & z.BRAND<"SourcePageId">;
1146
+ documentId: string & z.BRAND<"SourceDocumentId">;
1147
+ pageNumber: number;
1148
+ sessionId: (string & z.BRAND<"SessionId">) | null;
1149
+ reportType: string | null;
1150
+ reportTitle: string | null;
1151
+ publicationVersion: string | null;
1152
+ imageSha256: string | null;
1153
+ widthPx: number | null;
1154
+ heightPx: number | null;
1155
+ dpi: number | null;
1156
+ extractionStatus: string;
1157
+ }, {
1158
+ id: string;
1159
+ documentId: string;
1160
+ pageNumber: number;
1161
+ sessionId: string | null;
1162
+ reportType: string | null;
1163
+ reportTitle: string | null;
1164
+ publicationVersion: string | null;
1165
+ imageSha256: string | null;
1166
+ widthPx: number | null;
1167
+ heightPx: number | null;
1168
+ dpi: number | null;
1169
+ extractionStatus: string;
1170
+ }>;
1171
+ export declare const CoverageSchema: z.ZodObject<{
1172
+ asOf: z.ZodString;
1173
+ seasons: z.ZodArray<z.ZodObject<{
1174
+ year: z.ZodNumber;
1175
+ isComplete: z.ZodBoolean;
1176
+ events: z.ZodNumber;
1177
+ sessions: z.ZodNumber;
1178
+ laps: z.ZodNumber;
1179
+ sectors: z.ZodNumber;
1180
+ openQualityExceptions: z.ZodNumber;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ year: number;
1183
+ isComplete: boolean;
1184
+ events: number;
1185
+ sessions: number;
1186
+ laps: number;
1187
+ sectors: number;
1188
+ openQualityExceptions: number;
1189
+ }, {
1190
+ year: number;
1191
+ isComplete: boolean;
1192
+ events: number;
1193
+ sessions: number;
1194
+ laps: number;
1195
+ sectors: number;
1196
+ openQualityExceptions: number;
1197
+ }>, "many">;
1198
+ totals: z.ZodRecord<z.ZodString, z.ZodNumber>;
1199
+ }, "strip", z.ZodTypeAny, {
1200
+ asOf: string;
1201
+ seasons: {
1202
+ year: number;
1203
+ isComplete: boolean;
1204
+ events: number;
1205
+ sessions: number;
1206
+ laps: number;
1207
+ sectors: number;
1208
+ openQualityExceptions: number;
1209
+ }[];
1210
+ totals: Record<string, number>;
1211
+ }, {
1212
+ asOf: string;
1213
+ seasons: {
1214
+ year: number;
1215
+ isComplete: boolean;
1216
+ events: number;
1217
+ sessions: number;
1218
+ laps: number;
1219
+ sectors: number;
1220
+ openQualityExceptions: number;
1221
+ }[];
1222
+ totals: Record<string, number>;
1223
+ }>;
1224
+ export declare const DatasetSchema: z.ZodObject<{
1225
+ id: z.ZodString;
1226
+ createdAt: z.ZodString;
1227
+ schemaVersion: z.ZodString;
1228
+ calculationVersion: z.ZodNullable<z.ZodString>;
1229
+ seasons: z.ZodArray<z.ZodNumber, "many">;
1230
+ formats: z.ZodArray<z.ZodEnum<["csv", "jsonl"]>, "many">;
1231
+ files: z.ZodArray<z.ZodObject<{
1232
+ format: z.ZodEnum<["csv", "jsonl"]>;
1233
+ fileName: z.ZodString;
1234
+ byteSize: z.ZodNumber;
1235
+ sha256: z.ZodString;
1236
+ }, "strip", z.ZodTypeAny, {
1237
+ format: "csv" | "jsonl";
1238
+ fileName: string;
1239
+ byteSize: number;
1240
+ sha256: string;
1241
+ }, {
1242
+ format: "csv" | "jsonl";
1243
+ fileName: string;
1244
+ byteSize: number;
1245
+ sha256: string;
1246
+ }>, "many">;
1247
+ }, "strip", z.ZodTypeAny, {
1248
+ id: string;
1249
+ createdAt: string;
1250
+ schemaVersion: string;
1251
+ calculationVersion: string | null;
1252
+ seasons: number[];
1253
+ formats: ("csv" | "jsonl")[];
1254
+ files: {
1255
+ format: "csv" | "jsonl";
1256
+ fileName: string;
1257
+ byteSize: number;
1258
+ sha256: string;
1259
+ }[];
1260
+ }, {
1261
+ id: string;
1262
+ createdAt: string;
1263
+ schemaVersion: string;
1264
+ calculationVersion: string | null;
1265
+ seasons: number[];
1266
+ formats: ("csv" | "jsonl")[];
1267
+ files: {
1268
+ format: "csv" | "jsonl";
1269
+ fileName: string;
1270
+ byteSize: number;
1271
+ sha256: string;
1272
+ }[];
1273
+ }>;
1274
+ export declare const SearchResultSchema: z.ZodObject<{
1275
+ type: z.ZodEnum<["driver", "event", "circuit", "session", "publication", "judicial-decision", "bulletin", "official"]>;
1276
+ id: z.ZodString;
1277
+ label: z.ZodString;
1278
+ description: z.ZodNullable<z.ZodString>;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ type: "bulletin" | "circuit" | "driver" | "event" | "judicial-decision" | "official" | "publication" | "session";
1281
+ id: string;
1282
+ label: string;
1283
+ description: string | null;
1284
+ }, {
1285
+ type: "bulletin" | "circuit" | "driver" | "event" | "judicial-decision" | "official" | "publication" | "session";
1286
+ id: string;
1287
+ label: string;
1288
+ description: string | null;
1289
+ }>;
1290
+ export declare const NoticeboardSnapshotSchema: z.ZodObject<{
1291
+ id: z.ZodBranded<z.ZodString, "NoticeboardSnapshotId">;
1292
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1293
+ sourceUrl: z.ZodString;
1294
+ pageTitle: z.ZodString;
1295
+ fetchedAt: z.ZodString;
1296
+ documentCount: z.ZodNumber;
1297
+ scope: z.ZodString;
1298
+ }, "strip", z.ZodTypeAny, {
1299
+ id: string & z.BRAND<"NoticeboardSnapshotId">;
1300
+ eventId: string & z.BRAND<"EventId">;
1301
+ sourceUrl: string;
1302
+ pageTitle: string;
1303
+ fetchedAt: string;
1304
+ documentCount: number;
1305
+ scope: string;
1306
+ }, {
1307
+ id: string;
1308
+ eventId: string;
1309
+ sourceUrl: string;
1310
+ pageTitle: string;
1311
+ fetchedAt: string;
1312
+ documentCount: number;
1313
+ scope: string;
1314
+ }>;
1315
+ export declare const NoticeboardDocumentSchema: z.ZodObject<{
1316
+ id: z.ZodBranded<z.ZodString, "NoticeboardDocumentId">;
1317
+ snapshotId: z.ZodBranded<z.ZodString, "NoticeboardSnapshotId">;
1318
+ sourceDocumentId: z.ZodBranded<z.ZodString, "SourceDocumentId">;
1319
+ sequence: z.ZodNumber;
1320
+ displayedTitle: z.ZodString;
1321
+ sourceUrl: z.ZodString;
1322
+ sectionTitle: z.ZodNullable<z.ZodString>;
1323
+ selectionStatus: z.ZodString;
1324
+ scope: z.ZodString;
1325
+ selectionReason: z.ZodString;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ id: string & z.BRAND<"NoticeboardDocumentId">;
1328
+ snapshotId: string & z.BRAND<"NoticeboardSnapshotId">;
1329
+ sourceDocumentId: string & z.BRAND<"SourceDocumentId">;
1330
+ sequence: number;
1331
+ displayedTitle: string;
1332
+ sourceUrl: string;
1333
+ sectionTitle: string | null;
1334
+ selectionStatus: string;
1335
+ scope: string;
1336
+ selectionReason: string;
1337
+ }, {
1338
+ id: string;
1339
+ snapshotId: string;
1340
+ sourceDocumentId: string;
1341
+ sequence: number;
1342
+ displayedTitle: string;
1343
+ sourceUrl: string;
1344
+ sectionTitle: string | null;
1345
+ selectionStatus: string;
1346
+ scope: string;
1347
+ selectionReason: string;
1348
+ }>;
1349
+ export declare const EventPermitSchema: z.ZodObject<{
1350
+ id: z.ZodBranded<z.ZodString, "EventPermitId">;
1351
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1352
+ permitNumber: z.ZodString;
1353
+ eventName: z.ZodNullable<z.ZodString>;
1354
+ permitType: z.ZodNullable<z.ZodString>;
1355
+ permitGrade: z.ZodNullable<z.ZodString>;
1356
+ venueLocation: z.ZodNullable<z.ZodString>;
1357
+ organisingClub: z.ZodNullable<z.ZodString>;
1358
+ startDate: z.ZodNullable<z.ZodString>;
1359
+ endDate: z.ZodNullable<z.ZodString>;
1360
+ issuedDate: z.ZodNullable<z.ZodString>;
1361
+ permitNotes: z.ZodNullable<z.ZodString>;
1362
+ provenance: z.ZodObject<{
1363
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1364
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1365
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1368
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1369
+ kind?: "derived" | "published" | undefined;
1370
+ }, {
1371
+ sourcePageId: string | null;
1372
+ sourceDocumentId?: string | null | undefined;
1373
+ kind?: "derived" | "published" | undefined;
1374
+ }>;
1375
+ }, "strip", z.ZodTypeAny, {
1376
+ id: string & z.BRAND<"EventPermitId">;
1377
+ eventId: string & z.BRAND<"EventId">;
1378
+ permitNumber: string;
1379
+ eventName: string | null;
1380
+ permitType: string | null;
1381
+ permitGrade: string | null;
1382
+ venueLocation: string | null;
1383
+ organisingClub: string | null;
1384
+ startDate: string | null;
1385
+ endDate: string | null;
1386
+ issuedDate: string | null;
1387
+ permitNotes: string | null;
1388
+ provenance: {
1389
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1390
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1391
+ kind?: "derived" | "published" | undefined;
1392
+ };
1393
+ }, {
1394
+ id: string;
1395
+ eventId: string;
1396
+ permitNumber: string;
1397
+ eventName: string | null;
1398
+ permitType: string | null;
1399
+ permitGrade: string | null;
1400
+ venueLocation: string | null;
1401
+ organisingClub: string | null;
1402
+ startDate: string | null;
1403
+ endDate: string | null;
1404
+ issuedDate: string | null;
1405
+ permitNotes: string | null;
1406
+ provenance: {
1407
+ sourcePageId: string | null;
1408
+ sourceDocumentId?: string | null | undefined;
1409
+ kind?: "derived" | "published" | undefined;
1410
+ };
1411
+ }>;
1412
+ export declare const OfficialSchema: z.ZodObject<{
1413
+ id: z.ZodBranded<z.ZodString, "OfficialId">;
1414
+ name: z.ZodString;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ id: string & z.BRAND<"OfficialId">;
1417
+ name: string;
1418
+ }, {
1419
+ id: string;
1420
+ name: string;
1421
+ }>;
1422
+ export declare const OfficialAssignmentSchema: z.ZodObject<{
1423
+ id: z.ZodString;
1424
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1425
+ officialId: z.ZodBranded<z.ZodString, "OfficialId">;
1426
+ officialName: z.ZodString;
1427
+ role: z.ZodString;
1428
+ jurisdiction: z.ZodNullable<z.ZodString>;
1429
+ factCategory: z.ZodNullable<z.ZodString>;
1430
+ locationDescription: z.ZodNullable<z.ZodString>;
1431
+ effectiveFrom: z.ZodNullable<z.ZodString>;
1432
+ effectiveTo: z.ZodNullable<z.ZodString>;
1433
+ provenance: z.ZodObject<{
1434
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1435
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1436
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1439
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1440
+ kind?: "derived" | "published" | undefined;
1441
+ }, {
1442
+ sourcePageId: string | null;
1443
+ sourceDocumentId?: string | null | undefined;
1444
+ kind?: "derived" | "published" | undefined;
1445
+ }>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ id: string;
1448
+ eventId: string & z.BRAND<"EventId">;
1449
+ officialId: string & z.BRAND<"OfficialId">;
1450
+ officialName: string;
1451
+ role: string;
1452
+ jurisdiction: string | null;
1453
+ factCategory: string | null;
1454
+ locationDescription: string | null;
1455
+ effectiveFrom: string | null;
1456
+ effectiveTo: string | null;
1457
+ provenance: {
1458
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1459
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1460
+ kind?: "derived" | "published" | undefined;
1461
+ };
1462
+ }, {
1463
+ id: string;
1464
+ eventId: string;
1465
+ officialId: string;
1466
+ officialName: string;
1467
+ role: string;
1468
+ jurisdiction: string | null;
1469
+ factCategory: string | null;
1470
+ locationDescription: string | null;
1471
+ effectiveFrom: string | null;
1472
+ effectiveTo: string | null;
1473
+ provenance: {
1474
+ sourcePageId: string | null;
1475
+ sourceDocumentId?: string | null | undefined;
1476
+ kind?: "derived" | "published" | undefined;
1477
+ };
1478
+ }>;
1479
+ export declare const OperationalRuleSchema: z.ZodObject<{
1480
+ id: z.ZodString;
1481
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1482
+ ruleType: z.ZodString;
1483
+ valueNumeric: z.ZodNullable<z.ZodNumber>;
1484
+ valueText: z.ZodNullable<z.ZodString>;
1485
+ unit: z.ZodNullable<z.ZodString>;
1486
+ locationDescription: z.ZodNullable<z.ZodString>;
1487
+ effectiveFrom: z.ZodNullable<z.ZodString>;
1488
+ effectiveTo: z.ZodNullable<z.ZodString>;
1489
+ provenance: z.ZodObject<{
1490
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1491
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1492
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1495
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1496
+ kind?: "derived" | "published" | undefined;
1497
+ }, {
1498
+ sourcePageId: string | null;
1499
+ sourceDocumentId?: string | null | undefined;
1500
+ kind?: "derived" | "published" | undefined;
1501
+ }>;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ id: string;
1504
+ eventId: string & z.BRAND<"EventId">;
1505
+ ruleType: string;
1506
+ valueNumeric: number | null;
1507
+ valueText: string | null;
1508
+ unit: string | null;
1509
+ locationDescription: string | null;
1510
+ effectiveFrom: string | null;
1511
+ effectiveTo: string | null;
1512
+ provenance: {
1513
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1514
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1515
+ kind?: "derived" | "published" | undefined;
1516
+ };
1517
+ }, {
1518
+ id: string;
1519
+ eventId: string;
1520
+ ruleType: string;
1521
+ valueNumeric: number | null;
1522
+ valueText: string | null;
1523
+ unit: string | null;
1524
+ locationDescription: string | null;
1525
+ effectiveFrom: string | null;
1526
+ effectiveTo: string | null;
1527
+ provenance: {
1528
+ sourcePageId: string | null;
1529
+ sourceDocumentId?: string | null | undefined;
1530
+ kind?: "derived" | "published" | undefined;
1531
+ };
1532
+ }>;
1533
+ export declare const BulletinSchema: z.ZodObject<{
1534
+ id: z.ZodBranded<z.ZodString, "BulletinId">;
1535
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1536
+ number: z.ZodString;
1537
+ series: z.ZodString;
1538
+ title: z.ZodString;
1539
+ scope: z.ZodString;
1540
+ issuingAuthority: z.ZodNullable<z.ZodString>;
1541
+ issuedAt: z.ZodNullable<z.ZodString>;
1542
+ postedAt: z.ZodNullable<z.ZodString>;
1543
+ issuerOfficialId: z.ZodNullable<z.ZodBranded<z.ZodString, "OfficialId">>;
1544
+ issuerOfficialName: z.ZodNullable<z.ZodString>;
1545
+ provenance: z.ZodObject<{
1546
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1547
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1548
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1549
+ }, "strip", z.ZodTypeAny, {
1550
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1551
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1552
+ kind?: "derived" | "published" | undefined;
1553
+ }, {
1554
+ sourcePageId: string | null;
1555
+ sourceDocumentId?: string | null | undefined;
1556
+ kind?: "derived" | "published" | undefined;
1557
+ }>;
1558
+ }, "strip", z.ZodTypeAny, {
1559
+ id: string & z.BRAND<"BulletinId">;
1560
+ eventId: string & z.BRAND<"EventId">;
1561
+ number: string;
1562
+ series: string;
1563
+ title: string;
1564
+ scope: string;
1565
+ issuingAuthority: string | null;
1566
+ issuedAt: string | null;
1567
+ postedAt: string | null;
1568
+ issuerOfficialId: (string & z.BRAND<"OfficialId">) | null;
1569
+ issuerOfficialName: string | null;
1570
+ provenance: {
1571
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1572
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1573
+ kind?: "derived" | "published" | undefined;
1574
+ };
1575
+ }, {
1576
+ id: string;
1577
+ eventId: string;
1578
+ number: string;
1579
+ series: string;
1580
+ title: string;
1581
+ scope: string;
1582
+ issuingAuthority: string | null;
1583
+ issuedAt: string | null;
1584
+ postedAt: string | null;
1585
+ issuerOfficialId: string | null;
1586
+ issuerOfficialName: string | null;
1587
+ provenance: {
1588
+ sourcePageId: string | null;
1589
+ sourceDocumentId?: string | null | undefined;
1590
+ kind?: "derived" | "published" | undefined;
1591
+ };
1592
+ }>;
1593
+ export declare const BulletinActionSchema: z.ZodObject<{
1594
+ id: z.ZodBranded<z.ZodString, "BulletinActionId">;
1595
+ bulletinId: z.ZodBranded<z.ZodString, "BulletinId">;
1596
+ sequence: z.ZodNumber;
1597
+ actionType: z.ZodString;
1598
+ targetType: z.ZodString;
1599
+ targetReference: z.ZodNullable<z.ZodString>;
1600
+ beforeValue: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1601
+ afterValue: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1602
+ effectiveAt: z.ZodNullable<z.ZodString>;
1603
+ reason: z.ZodNullable<z.ZodString>;
1604
+ }, "strip", z.ZodTypeAny, {
1605
+ id: string & z.BRAND<"BulletinActionId">;
1606
+ bulletinId: string & z.BRAND<"BulletinId">;
1607
+ sequence: number;
1608
+ actionType: string;
1609
+ targetType: string;
1610
+ targetReference: string | null;
1611
+ beforeValue: Record<string, string | number | boolean | null> | null;
1612
+ afterValue: Record<string, string | number | boolean | null> | null;
1613
+ effectiveAt: string | null;
1614
+ reason: string | null;
1615
+ }, {
1616
+ id: string;
1617
+ bulletinId: string;
1618
+ sequence: number;
1619
+ actionType: string;
1620
+ targetType: string;
1621
+ targetReference: string | null;
1622
+ beforeValue: Record<string, string | number | boolean | null> | null;
1623
+ afterValue: Record<string, string | number | boolean | null> | null;
1624
+ effectiveAt: string | null;
1625
+ reason: string | null;
1626
+ }>;
1627
+ export declare const EntryStatusHistorySchema: z.ZodObject<{
1628
+ id: z.ZodString;
1629
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1630
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
1631
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
1632
+ printedDriverName: z.ZodString;
1633
+ raceNumber: z.ZodNullable<z.ZodString>;
1634
+ competitionClass: z.ZodNullable<z.ZodString>;
1635
+ vehicle: z.ZodNullable<z.ZodString>;
1636
+ status: z.ZodString;
1637
+ effectiveAt: z.ZodNullable<z.ZodString>;
1638
+ bulletinActionId: z.ZodNullable<z.ZodBranded<z.ZodString, "BulletinActionId">>;
1639
+ provenance: z.ZodObject<{
1640
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1641
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1642
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1645
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1646
+ kind?: "derived" | "published" | undefined;
1647
+ }, {
1648
+ sourcePageId: string | null;
1649
+ sourceDocumentId?: string | null | undefined;
1650
+ kind?: "derived" | "published" | undefined;
1651
+ }>;
1652
+ }, "strip", z.ZodTypeAny, {
1653
+ id: string;
1654
+ eventId: string & z.BRAND<"EventId">;
1655
+ driverId: (string & z.BRAND<"DriverId">) | null;
1656
+ entryId: (string & z.BRAND<"EntryId">) | null;
1657
+ printedDriverName: string;
1658
+ raceNumber: string | null;
1659
+ competitionClass: string | null;
1660
+ vehicle: string | null;
1661
+ status: string;
1662
+ effectiveAt: string | null;
1663
+ bulletinActionId: (string & z.BRAND<"BulletinActionId">) | null;
1664
+ provenance: {
1665
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1666
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1667
+ kind?: "derived" | "published" | undefined;
1668
+ };
1669
+ }, {
1670
+ id: string;
1671
+ eventId: string;
1672
+ driverId: string | null;
1673
+ entryId: string | null;
1674
+ printedDriverName: string;
1675
+ raceNumber: string | null;
1676
+ competitionClass: string | null;
1677
+ vehicle: string | null;
1678
+ status: string;
1679
+ effectiveAt: string | null;
1680
+ bulletinActionId: string | null;
1681
+ provenance: {
1682
+ sourcePageId: string | null;
1683
+ sourceDocumentId?: string | null | undefined;
1684
+ kind?: "derived" | "published" | undefined;
1685
+ };
1686
+ }>;
1687
+ export declare const ProgrammeSlotSchema: z.ZodObject<{
1688
+ id: z.ZodString;
1689
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1690
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
1691
+ programmeRaceNumber: z.ZodNullable<z.ZodNumber>;
1692
+ championshipRoundNumber: z.ZodNullable<z.ZodNumber>;
1693
+ seriesName: z.ZodString;
1694
+ scheduledStart: z.ZodNullable<z.ZodString>;
1695
+ intendedDurationSeconds: z.ZodNullable<z.ZodNumber>;
1696
+ provenance: z.ZodObject<{
1697
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1698
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1699
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1700
+ }, "strip", z.ZodTypeAny, {
1701
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1702
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1703
+ kind?: "derived" | "published" | undefined;
1704
+ }, {
1705
+ sourcePageId: string | null;
1706
+ sourceDocumentId?: string | null | undefined;
1707
+ kind?: "derived" | "published" | undefined;
1708
+ }>;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ id: string;
1711
+ eventId: string & z.BRAND<"EventId">;
1712
+ sessionId: (string & z.BRAND<"SessionId">) | null;
1713
+ programmeRaceNumber: number | null;
1714
+ championshipRoundNumber: number | null;
1715
+ seriesName: string;
1716
+ scheduledStart: string | null;
1717
+ intendedDurationSeconds: number | null;
1718
+ provenance: {
1719
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1720
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1721
+ kind?: "derived" | "published" | undefined;
1722
+ };
1723
+ }, {
1724
+ id: string;
1725
+ eventId: string;
1726
+ sessionId: string | null;
1727
+ programmeRaceNumber: number | null;
1728
+ championshipRoundNumber: number | null;
1729
+ seriesName: string;
1730
+ scheduledStart: string | null;
1731
+ intendedDurationSeconds: number | null;
1732
+ provenance: {
1733
+ sourcePageId: string | null;
1734
+ sourceDocumentId?: string | null | undefined;
1735
+ kind?: "derived" | "published" | undefined;
1736
+ };
1737
+ }>;
1738
+ export declare const EligibilityDecisionSchema: z.ZodObject<{
1739
+ id: z.ZodString;
1740
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1741
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
1742
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
1743
+ raceNumber: z.ZodNullable<z.ZodString>;
1744
+ printedDriverName: z.ZodString;
1745
+ decisionType: z.ZodString;
1746
+ beforeValue: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1747
+ afterValue: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1748
+ effectiveAt: z.ZodNullable<z.ZodString>;
1749
+ bulletinActionId: z.ZodNullable<z.ZodBranded<z.ZodString, "BulletinActionId">>;
1750
+ provenance: z.ZodObject<{
1751
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1752
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1753
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1754
+ }, "strip", z.ZodTypeAny, {
1755
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1756
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1757
+ kind?: "derived" | "published" | undefined;
1758
+ }, {
1759
+ sourcePageId: string | null;
1760
+ sourceDocumentId?: string | null | undefined;
1761
+ kind?: "derived" | "published" | undefined;
1762
+ }>;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ id: string;
1765
+ eventId: string & z.BRAND<"EventId">;
1766
+ driverId: (string & z.BRAND<"DriverId">) | null;
1767
+ entryId: (string & z.BRAND<"EntryId">) | null;
1768
+ raceNumber: string | null;
1769
+ printedDriverName: string;
1770
+ decisionType: string;
1771
+ beforeValue: Record<string, string | number | boolean | null> | null;
1772
+ afterValue: Record<string, string | number | boolean | null> | null;
1773
+ effectiveAt: string | null;
1774
+ bulletinActionId: (string & z.BRAND<"BulletinActionId">) | null;
1775
+ provenance: {
1776
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1777
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1778
+ kind?: "derived" | "published" | undefined;
1779
+ };
1780
+ }, {
1781
+ id: string;
1782
+ eventId: string;
1783
+ driverId: string | null;
1784
+ entryId: string | null;
1785
+ raceNumber: string | null;
1786
+ printedDriverName: string;
1787
+ decisionType: string;
1788
+ beforeValue: Record<string, string | number | boolean | null> | null;
1789
+ afterValue: Record<string, string | number | boolean | null> | null;
1790
+ effectiveAt: string | null;
1791
+ bulletinActionId: string | null;
1792
+ provenance: {
1793
+ sourcePageId: string | null;
1794
+ sourceDocumentId?: string | null | undefined;
1795
+ kind?: "derived" | "published" | undefined;
1796
+ };
1797
+ }>;
1798
+ export declare const SessionPublicationSchema: z.ZodObject<{
1799
+ id: z.ZodBranded<z.ZodString, "SessionPublicationId">;
1800
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
1801
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
1802
+ type: z.ZodString;
1803
+ version: z.ZodString;
1804
+ title: z.ZodString;
1805
+ printedAt: z.ZodNullable<z.ZodString>;
1806
+ issuedAt: z.ZodNullable<z.ZodString>;
1807
+ postedAt: z.ZodNullable<z.ZodString>;
1808
+ status: z.ZodString;
1809
+ isCurrent: z.ZodBoolean;
1810
+ supersedesPublicationId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionPublicationId">>;
1811
+ provenance: z.ZodObject<{
1812
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1813
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1814
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1815
+ }, "strip", z.ZodTypeAny, {
1816
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1817
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1818
+ kind?: "derived" | "published" | undefined;
1819
+ }, {
1820
+ sourcePageId: string | null;
1821
+ sourceDocumentId?: string | null | undefined;
1822
+ kind?: "derived" | "published" | undefined;
1823
+ }>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ id: string & z.BRAND<"SessionPublicationId">;
1826
+ eventId: string & z.BRAND<"EventId">;
1827
+ sessionId: (string & z.BRAND<"SessionId">) | null;
1828
+ type: string;
1829
+ version: string;
1830
+ title: string;
1831
+ printedAt: string | null;
1832
+ issuedAt: string | null;
1833
+ postedAt: string | null;
1834
+ status: string;
1835
+ isCurrent: boolean;
1836
+ supersedesPublicationId: (string & z.BRAND<"SessionPublicationId">) | null;
1837
+ provenance: {
1838
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1839
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1840
+ kind?: "derived" | "published" | undefined;
1841
+ };
1842
+ }, {
1843
+ id: string;
1844
+ eventId: string;
1845
+ sessionId: string | null;
1846
+ type: string;
1847
+ version: string;
1848
+ title: string;
1849
+ printedAt: string | null;
1850
+ issuedAt: string | null;
1851
+ postedAt: string | null;
1852
+ status: string;
1853
+ isCurrent: boolean;
1854
+ supersedesPublicationId: string | null;
1855
+ provenance: {
1856
+ sourcePageId: string | null;
1857
+ sourceDocumentId?: string | null | undefined;
1858
+ kind?: "derived" | "published" | undefined;
1859
+ };
1860
+ }>;
1861
+ export declare const PublicationClassificationRowSchema: z.ZodObject<{
1862
+ id: z.ZodString;
1863
+ publicationId: z.ZodBranded<z.ZodString, "SessionPublicationId">;
1864
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
1865
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
1866
+ position: z.ZodNullable<z.ZodNumber>;
1867
+ status: z.ZodNullable<z.ZodString>;
1868
+ raceNumber: z.ZodNullable<z.ZodString>;
1869
+ competitionClass: z.ZodNullable<z.ZodString>;
1870
+ classPosition: z.ZodNullable<z.ZodNumber>;
1871
+ printedDriverName: z.ZodNullable<z.ZodString>;
1872
+ vehicle: z.ZodNullable<z.ZodString>;
1873
+ laps: z.ZodNullable<z.ZodNumber>;
1874
+ time: z.ZodNullable<z.ZodString>;
1875
+ timeMs: z.ZodNullable<z.ZodNumber>;
1876
+ gap: z.ZodNullable<z.ZodString>;
1877
+ gapMs: z.ZodNullable<z.ZodNumber>;
1878
+ difference: z.ZodNullable<z.ZodString>;
1879
+ differenceMs: z.ZodNullable<z.ZodNumber>;
1880
+ averageMph: z.ZodNullable<z.ZodNumber>;
1881
+ bestLap: z.ZodNullable<z.ZodString>;
1882
+ bestLapMs: z.ZodNullable<z.ZodNumber>;
1883
+ bestOnLap: z.ZodNullable<z.ZodNumber>;
1884
+ gridPosition: z.ZodNullable<z.ZodNumber>;
1885
+ positionsChanged: z.ZodNullable<z.ZodNumber>;
1886
+ provenance: z.ZodObject<{
1887
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1888
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1889
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1890
+ }, "strip", z.ZodTypeAny, {
1891
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1892
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1893
+ kind?: "derived" | "published" | undefined;
1894
+ }, {
1895
+ sourcePageId: string | null;
1896
+ sourceDocumentId?: string | null | undefined;
1897
+ kind?: "derived" | "published" | undefined;
1898
+ }>;
1899
+ }, "strip", z.ZodTypeAny, {
1900
+ id: string;
1901
+ publicationId: string & z.BRAND<"SessionPublicationId">;
1902
+ driverId: (string & z.BRAND<"DriverId">) | null;
1903
+ entryId: (string & z.BRAND<"EntryId">) | null;
1904
+ position: number | null;
1905
+ status: string | null;
1906
+ raceNumber: string | null;
1907
+ competitionClass: string | null;
1908
+ classPosition: number | null;
1909
+ printedDriverName: string | null;
1910
+ vehicle: string | null;
1911
+ laps: number | null;
1912
+ time: string | null;
1913
+ timeMs: number | null;
1914
+ gap: string | null;
1915
+ gapMs: number | null;
1916
+ difference: string | null;
1917
+ differenceMs: number | null;
1918
+ averageMph: number | null;
1919
+ bestLap: string | null;
1920
+ bestLapMs: number | null;
1921
+ bestOnLap: number | null;
1922
+ gridPosition: number | null;
1923
+ positionsChanged: number | null;
1924
+ provenance: {
1925
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1926
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1927
+ kind?: "derived" | "published" | undefined;
1928
+ };
1929
+ }, {
1930
+ id: string;
1931
+ publicationId: string;
1932
+ driverId: string | null;
1933
+ entryId: string | null;
1934
+ position: number | null;
1935
+ status: string | null;
1936
+ raceNumber: string | null;
1937
+ competitionClass: string | null;
1938
+ classPosition: number | null;
1939
+ printedDriverName: string | null;
1940
+ vehicle: string | null;
1941
+ laps: number | null;
1942
+ time: string | null;
1943
+ timeMs: number | null;
1944
+ gap: string | null;
1945
+ gapMs: number | null;
1946
+ difference: string | null;
1947
+ differenceMs: number | null;
1948
+ averageMph: number | null;
1949
+ bestLap: string | null;
1950
+ bestLapMs: number | null;
1951
+ bestOnLap: number | null;
1952
+ gridPosition: number | null;
1953
+ positionsChanged: number | null;
1954
+ provenance: {
1955
+ sourcePageId: string | null;
1956
+ sourceDocumentId?: string | null | undefined;
1957
+ kind?: "derived" | "published" | undefined;
1958
+ };
1959
+ }>;
1960
+ export declare const PublicationGridRowSchema: z.ZodObject<{
1961
+ id: z.ZodString;
1962
+ publicationId: z.ZodBranded<z.ZodString, "SessionPublicationId">;
1963
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
1964
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
1965
+ gridPosition: z.ZodNullable<z.ZodNumber>;
1966
+ gridRow: z.ZodNullable<z.ZodNumber>;
1967
+ gridSide: z.ZodNullable<z.ZodString>;
1968
+ raceNumber: z.ZodNullable<z.ZodString>;
1969
+ printedDriverName: z.ZodNullable<z.ZodString>;
1970
+ qualifyingTime: z.ZodNullable<z.ZodString>;
1971
+ qualifyingTimeMs: z.ZodNullable<z.ZodNumber>;
1972
+ startInstruction: z.ZodNullable<z.ZodString>;
1973
+ provenance: z.ZodObject<{
1974
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
1975
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
1976
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
1977
+ }, "strip", z.ZodTypeAny, {
1978
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
1979
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
1980
+ kind?: "derived" | "published" | undefined;
1981
+ }, {
1982
+ sourcePageId: string | null;
1983
+ sourceDocumentId?: string | null | undefined;
1984
+ kind?: "derived" | "published" | undefined;
1985
+ }>;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ id: string;
1988
+ publicationId: string & z.BRAND<"SessionPublicationId">;
1989
+ driverId: (string & z.BRAND<"DriverId">) | null;
1990
+ entryId: (string & z.BRAND<"EntryId">) | null;
1991
+ gridPosition: number | null;
1992
+ gridRow: number | null;
1993
+ gridSide: string | null;
1994
+ raceNumber: string | null;
1995
+ printedDriverName: string | null;
1996
+ qualifyingTime: string | null;
1997
+ qualifyingTimeMs: number | null;
1998
+ startInstruction: string | null;
1999
+ provenance: {
2000
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2001
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2002
+ kind?: "derived" | "published" | undefined;
2003
+ };
2004
+ }, {
2005
+ id: string;
2006
+ publicationId: string;
2007
+ driverId: string | null;
2008
+ entryId: string | null;
2009
+ gridPosition: number | null;
2010
+ gridRow: number | null;
2011
+ gridSide: string | null;
2012
+ raceNumber: string | null;
2013
+ printedDriverName: string | null;
2014
+ qualifyingTime: string | null;
2015
+ qualifyingTimeMs: number | null;
2016
+ startInstruction: string | null;
2017
+ provenance: {
2018
+ sourcePageId: string | null;
2019
+ sourceDocumentId?: string | null | undefined;
2020
+ kind?: "derived" | "published" | undefined;
2021
+ };
2022
+ }>;
2023
+ export declare const PublicationChangeSchema: z.ZodObject<{
2024
+ id: z.ZodString;
2025
+ previousPublicationId: z.ZodBranded<z.ZodString, "SessionPublicationId">;
2026
+ replacementPublicationId: z.ZodBranded<z.ZodString, "SessionPublicationId">;
2027
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
2028
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
2029
+ raceNumber: z.ZodNullable<z.ZodString>;
2030
+ fieldName: z.ZodString;
2031
+ beforeValue: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2032
+ afterValue: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2033
+ reason: z.ZodNullable<z.ZodString>;
2034
+ sourceSanctionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SanctionId">>;
2035
+ }, "strip", z.ZodTypeAny, {
2036
+ id: string;
2037
+ previousPublicationId: string & z.BRAND<"SessionPublicationId">;
2038
+ replacementPublicationId: string & z.BRAND<"SessionPublicationId">;
2039
+ driverId: (string & z.BRAND<"DriverId">) | null;
2040
+ entryId: (string & z.BRAND<"EntryId">) | null;
2041
+ raceNumber: string | null;
2042
+ fieldName: string;
2043
+ beforeValue: Record<string, string | number | boolean | null> | null;
2044
+ afterValue: Record<string, string | number | boolean | null> | null;
2045
+ reason: string | null;
2046
+ sourceSanctionId: (string & z.BRAND<"SanctionId">) | null;
2047
+ }, {
2048
+ id: string;
2049
+ previousPublicationId: string;
2050
+ replacementPublicationId: string;
2051
+ driverId: string | null;
2052
+ entryId: string | null;
2053
+ raceNumber: string | null;
2054
+ fieldName: string;
2055
+ beforeValue: Record<string, string | number | boolean | null> | null;
2056
+ afterValue: Record<string, string | number | boolean | null> | null;
2057
+ reason: string | null;
2058
+ sourceSanctionId: string | null;
2059
+ }>;
2060
+ export declare const PublicationReconciliationSchema: z.ZodObject<{
2061
+ id: z.ZodString;
2062
+ publicationId: z.ZodBranded<z.ZodString, "SessionPublicationId">;
2063
+ weekendBookSourceDocumentId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>;
2064
+ status: z.ZodString;
2065
+ comparedAt: z.ZodString;
2066
+ }, "strip", z.ZodTypeAny, {
2067
+ id: string;
2068
+ publicationId: string & z.BRAND<"SessionPublicationId">;
2069
+ weekendBookSourceDocumentId: (string & z.BRAND<"SourceDocumentId">) | null;
2070
+ status: string;
2071
+ comparedAt: string;
2072
+ }, {
2073
+ id: string;
2074
+ publicationId: string;
2075
+ weekendBookSourceDocumentId: string | null;
2076
+ status: string;
2077
+ comparedAt: string;
2078
+ }>;
2079
+ export declare const ResultStatusHistorySchema: z.ZodObject<{
2080
+ id: z.ZodString;
2081
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
2082
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
2083
+ programmeRaceNumber: z.ZodNullable<z.ZodNumber>;
2084
+ status: z.ZodString;
2085
+ effectiveAt: z.ZodString;
2086
+ reason: z.ZodNullable<z.ZodString>;
2087
+ bulletinId: z.ZodNullable<z.ZodBranded<z.ZodString, "BulletinId">>;
2088
+ provenance: z.ZodObject<{
2089
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
2090
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
2091
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
2092
+ }, "strip", z.ZodTypeAny, {
2093
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2094
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2095
+ kind?: "derived" | "published" | undefined;
2096
+ }, {
2097
+ sourcePageId: string | null;
2098
+ sourceDocumentId?: string | null | undefined;
2099
+ kind?: "derived" | "published" | undefined;
2100
+ }>;
2101
+ }, "strip", z.ZodTypeAny, {
2102
+ id: string;
2103
+ eventId: string & z.BRAND<"EventId">;
2104
+ sessionId: (string & z.BRAND<"SessionId">) | null;
2105
+ programmeRaceNumber: number | null;
2106
+ status: string;
2107
+ effectiveAt: string;
2108
+ reason: string | null;
2109
+ bulletinId: (string & z.BRAND<"BulletinId">) | null;
2110
+ provenance: {
2111
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2112
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2113
+ kind?: "derived" | "published" | undefined;
2114
+ };
2115
+ }, {
2116
+ id: string;
2117
+ eventId: string;
2118
+ sessionId: string | null;
2119
+ programmeRaceNumber: number | null;
2120
+ status: string;
2121
+ effectiveAt: string;
2122
+ reason: string | null;
2123
+ bulletinId: string | null;
2124
+ provenance: {
2125
+ sourcePageId: string | null;
2126
+ sourceDocumentId?: string | null | undefined;
2127
+ kind?: "derived" | "published" | undefined;
2128
+ };
2129
+ }>;
2130
+ export declare const DecisionParticipantSchema: z.ZodObject<{
2131
+ id: z.ZodString;
2132
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
2133
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
2134
+ printedDriverName: z.ZodString;
2135
+ raceNumber: z.ZodNullable<z.ZodString>;
2136
+ role: z.ZodString;
2137
+ sequence: z.ZodNumber;
2138
+ }, "strip", z.ZodTypeAny, {
2139
+ id: string;
2140
+ driverId: (string & z.BRAND<"DriverId">) | null;
2141
+ entryId: (string & z.BRAND<"EntryId">) | null;
2142
+ printedDriverName: string;
2143
+ raceNumber: string | null;
2144
+ role: string;
2145
+ sequence: number;
2146
+ }, {
2147
+ id: string;
2148
+ driverId: string | null;
2149
+ entryId: string | null;
2150
+ printedDriverName: string;
2151
+ raceNumber: string | null;
2152
+ role: string;
2153
+ sequence: number;
2154
+ }>;
2155
+ export declare const RegulationCitationSchema: z.ZodObject<{
2156
+ id: z.ZodString;
2157
+ governingRuleSet: z.ZodNullable<z.ZodString>;
2158
+ chapter: z.ZodNullable<z.ZodString>;
2159
+ appendix: z.ZodNullable<z.ZodString>;
2160
+ article: z.ZodNullable<z.ZodString>;
2161
+ citation: z.ZodString;
2162
+ sequence: z.ZodNumber;
2163
+ }, "strip", z.ZodTypeAny, {
2164
+ id: string;
2165
+ governingRuleSet: string | null;
2166
+ chapter: string | null;
2167
+ appendix: string | null;
2168
+ article: string | null;
2169
+ citation: string;
2170
+ sequence: number;
2171
+ }, {
2172
+ id: string;
2173
+ governingRuleSet: string | null;
2174
+ chapter: string | null;
2175
+ appendix: string | null;
2176
+ article: string | null;
2177
+ citation: string;
2178
+ sequence: number;
2179
+ }>;
2180
+ export declare const DecisionEvidenceSchema: z.ZodObject<{
2181
+ id: z.ZodString;
2182
+ evidenceType: z.ZodString;
2183
+ associatedRaceNumber: z.ZodNullable<z.ZodString>;
2184
+ sequence: z.ZodNumber;
2185
+ }, "strip", z.ZodTypeAny, {
2186
+ id: string;
2187
+ evidenceType: string;
2188
+ associatedRaceNumber: string | null;
2189
+ sequence: number;
2190
+ }, {
2191
+ id: string;
2192
+ evidenceType: string;
2193
+ associatedRaceNumber: string | null;
2194
+ sequence: number;
2195
+ }>;
2196
+ export declare const DecisionOfficialSchema: z.ZodObject<{
2197
+ id: z.ZodString;
2198
+ officialId: z.ZodBranded<z.ZodString, "OfficialId">;
2199
+ officialName: z.ZodString;
2200
+ role: z.ZodString;
2201
+ signatoryOrder: z.ZodNullable<z.ZodNumber>;
2202
+ signed: z.ZodBoolean;
2203
+ }, "strip", z.ZodTypeAny, {
2204
+ id: string;
2205
+ officialId: string & z.BRAND<"OfficialId">;
2206
+ officialName: string;
2207
+ role: string;
2208
+ signatoryOrder: number | null;
2209
+ signed: boolean;
2210
+ }, {
2211
+ id: string;
2212
+ officialId: string;
2213
+ officialName: string;
2214
+ role: string;
2215
+ signatoryOrder: number | null;
2216
+ signed: boolean;
2217
+ }>;
2218
+ export declare const SanctionSchema: z.ZodObject<{
2219
+ id: z.ZodBranded<z.ZodString, "SanctionId">;
2220
+ judicialDecisionId: z.ZodBranded<z.ZodString, "JudicialDecisionId">;
2221
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
2222
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
2223
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
2224
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
2225
+ type: z.ZodString;
2226
+ value: z.ZodNullable<z.ZodNumber>;
2227
+ unit: z.ZodNullable<z.ZodString>;
2228
+ appliesToEventId: z.ZodNullable<z.ZodBranded<z.ZodString, "EventId">>;
2229
+ appliesToSessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
2230
+ effectiveAt: z.ZodNullable<z.ZodString>;
2231
+ status: z.ZodString;
2232
+ provenance: z.ZodObject<{
2233
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
2234
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
2235
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
2236
+ }, "strip", z.ZodTypeAny, {
2237
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2238
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2239
+ kind?: "derived" | "published" | undefined;
2240
+ }, {
2241
+ sourcePageId: string | null;
2242
+ sourceDocumentId?: string | null | undefined;
2243
+ kind?: "derived" | "published" | undefined;
2244
+ }>;
2245
+ }, "strip", z.ZodTypeAny, {
2246
+ id: string & z.BRAND<"SanctionId">;
2247
+ judicialDecisionId: string & z.BRAND<"JudicialDecisionId">;
2248
+ eventId: string & z.BRAND<"EventId">;
2249
+ sessionId: (string & z.BRAND<"SessionId">) | null;
2250
+ driverId: (string & z.BRAND<"DriverId">) | null;
2251
+ entryId: (string & z.BRAND<"EntryId">) | null;
2252
+ type: string;
2253
+ value: number | null;
2254
+ unit: string | null;
2255
+ appliesToEventId: (string & z.BRAND<"EventId">) | null;
2256
+ appliesToSessionId: (string & z.BRAND<"SessionId">) | null;
2257
+ effectiveAt: string | null;
2258
+ status: string;
2259
+ provenance: {
2260
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2261
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2262
+ kind?: "derived" | "published" | undefined;
2263
+ };
2264
+ }, {
2265
+ id: string;
2266
+ judicialDecisionId: string;
2267
+ eventId: string;
2268
+ sessionId: string | null;
2269
+ driverId: string | null;
2270
+ entryId: string | null;
2271
+ type: string;
2272
+ value: number | null;
2273
+ unit: string | null;
2274
+ appliesToEventId: string | null;
2275
+ appliesToSessionId: string | null;
2276
+ effectiveAt: string | null;
2277
+ status: string;
2278
+ provenance: {
2279
+ sourcePageId: string | null;
2280
+ sourceDocumentId?: string | null | undefined;
2281
+ kind?: "derived" | "published" | undefined;
2282
+ };
2283
+ }>;
2284
+ export declare const JudicialDecisionSchema: z.ZodObject<{
2285
+ id: z.ZodBranded<z.ZodString, "JudicialDecisionId">;
2286
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
2287
+ hearingEventId: z.ZodNullable<z.ZodBranded<z.ZodString, "EventId">>;
2288
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
2289
+ eventPermitId: z.ZodNullable<z.ZodBranded<z.ZodString, "EventPermitId">>;
2290
+ noticeboardSnapshotId: z.ZodNullable<z.ZodBranded<z.ZodString, "NoticeboardSnapshotId">>;
2291
+ decisionNumber: z.ZodNullable<z.ZodString>;
2292
+ authority: z.ZodString;
2293
+ type: z.ZodString;
2294
+ issueTime: z.ZodNullable<z.ZodString>;
2295
+ incidentTime: z.ZodNullable<z.ZodString>;
2296
+ outcomeCode: z.ZodNullable<z.ZodString>;
2297
+ status: z.ZodString;
2298
+ supersedesDecisionId: z.ZodNullable<z.ZodBranded<z.ZodString, "JudicialDecisionId">>;
2299
+ provenance: z.ZodObject<{
2300
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
2301
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
2302
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
2303
+ }, "strip", z.ZodTypeAny, {
2304
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2305
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2306
+ kind?: "derived" | "published" | undefined;
2307
+ }, {
2308
+ sourcePageId: string | null;
2309
+ sourceDocumentId?: string | null | undefined;
2310
+ kind?: "derived" | "published" | undefined;
2311
+ }>;
2312
+ participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
2313
+ id: z.ZodString;
2314
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
2315
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
2316
+ printedDriverName: z.ZodString;
2317
+ raceNumber: z.ZodNullable<z.ZodString>;
2318
+ role: z.ZodString;
2319
+ sequence: z.ZodNumber;
2320
+ }, "strip", z.ZodTypeAny, {
2321
+ id: string;
2322
+ driverId: (string & z.BRAND<"DriverId">) | null;
2323
+ entryId: (string & z.BRAND<"EntryId">) | null;
2324
+ printedDriverName: string;
2325
+ raceNumber: string | null;
2326
+ role: string;
2327
+ sequence: number;
2328
+ }, {
2329
+ id: string;
2330
+ driverId: string | null;
2331
+ entryId: string | null;
2332
+ printedDriverName: string;
2333
+ raceNumber: string | null;
2334
+ role: string;
2335
+ sequence: number;
2336
+ }>, "many">>;
2337
+ citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2338
+ id: z.ZodString;
2339
+ governingRuleSet: z.ZodNullable<z.ZodString>;
2340
+ chapter: z.ZodNullable<z.ZodString>;
2341
+ appendix: z.ZodNullable<z.ZodString>;
2342
+ article: z.ZodNullable<z.ZodString>;
2343
+ citation: z.ZodString;
2344
+ sequence: z.ZodNumber;
2345
+ }, "strip", z.ZodTypeAny, {
2346
+ id: string;
2347
+ governingRuleSet: string | null;
2348
+ chapter: string | null;
2349
+ appendix: string | null;
2350
+ article: string | null;
2351
+ citation: string;
2352
+ sequence: number;
2353
+ }, {
2354
+ id: string;
2355
+ governingRuleSet: string | null;
2356
+ chapter: string | null;
2357
+ appendix: string | null;
2358
+ article: string | null;
2359
+ citation: string;
2360
+ sequence: number;
2361
+ }>, "many">>;
2362
+ evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
2363
+ id: z.ZodString;
2364
+ evidenceType: z.ZodString;
2365
+ associatedRaceNumber: z.ZodNullable<z.ZodString>;
2366
+ sequence: z.ZodNumber;
2367
+ }, "strip", z.ZodTypeAny, {
2368
+ id: string;
2369
+ evidenceType: string;
2370
+ associatedRaceNumber: string | null;
2371
+ sequence: number;
2372
+ }, {
2373
+ id: string;
2374
+ evidenceType: string;
2375
+ associatedRaceNumber: string | null;
2376
+ sequence: number;
2377
+ }>, "many">>;
2378
+ officials: z.ZodOptional<z.ZodArray<z.ZodObject<{
2379
+ id: z.ZodString;
2380
+ officialId: z.ZodBranded<z.ZodString, "OfficialId">;
2381
+ officialName: z.ZodString;
2382
+ role: z.ZodString;
2383
+ signatoryOrder: z.ZodNullable<z.ZodNumber>;
2384
+ signed: z.ZodBoolean;
2385
+ }, "strip", z.ZodTypeAny, {
2386
+ id: string;
2387
+ officialId: string & z.BRAND<"OfficialId">;
2388
+ officialName: string;
2389
+ role: string;
2390
+ signatoryOrder: number | null;
2391
+ signed: boolean;
2392
+ }, {
2393
+ id: string;
2394
+ officialId: string;
2395
+ officialName: string;
2396
+ role: string;
2397
+ signatoryOrder: number | null;
2398
+ signed: boolean;
2399
+ }>, "many">>;
2400
+ sanctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2401
+ id: z.ZodBranded<z.ZodString, "SanctionId">;
2402
+ judicialDecisionId: z.ZodBranded<z.ZodString, "JudicialDecisionId">;
2403
+ eventId: z.ZodBranded<z.ZodString, "EventId">;
2404
+ sessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
2405
+ driverId: z.ZodNullable<z.ZodBranded<z.ZodString, "DriverId">>;
2406
+ entryId: z.ZodNullable<z.ZodBranded<z.ZodString, "EntryId">>;
2407
+ type: z.ZodString;
2408
+ value: z.ZodNullable<z.ZodNumber>;
2409
+ unit: z.ZodNullable<z.ZodString>;
2410
+ appliesToEventId: z.ZodNullable<z.ZodBranded<z.ZodString, "EventId">>;
2411
+ appliesToSessionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SessionId">>;
2412
+ effectiveAt: z.ZodNullable<z.ZodString>;
2413
+ status: z.ZodString;
2414
+ provenance: z.ZodObject<{
2415
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
2416
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
2417
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
2418
+ }, "strip", z.ZodTypeAny, {
2419
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2420
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2421
+ kind?: "derived" | "published" | undefined;
2422
+ }, {
2423
+ sourcePageId: string | null;
2424
+ sourceDocumentId?: string | null | undefined;
2425
+ kind?: "derived" | "published" | undefined;
2426
+ }>;
2427
+ }, "strip", z.ZodTypeAny, {
2428
+ id: string & z.BRAND<"SanctionId">;
2429
+ judicialDecisionId: string & z.BRAND<"JudicialDecisionId">;
2430
+ eventId: string & z.BRAND<"EventId">;
2431
+ sessionId: (string & z.BRAND<"SessionId">) | null;
2432
+ driverId: (string & z.BRAND<"DriverId">) | null;
2433
+ entryId: (string & z.BRAND<"EntryId">) | null;
2434
+ type: string;
2435
+ value: number | null;
2436
+ unit: string | null;
2437
+ appliesToEventId: (string & z.BRAND<"EventId">) | null;
2438
+ appliesToSessionId: (string & z.BRAND<"SessionId">) | null;
2439
+ effectiveAt: string | null;
2440
+ status: string;
2441
+ provenance: {
2442
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2443
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2444
+ kind?: "derived" | "published" | undefined;
2445
+ };
2446
+ }, {
2447
+ id: string;
2448
+ judicialDecisionId: string;
2449
+ eventId: string;
2450
+ sessionId: string | null;
2451
+ driverId: string | null;
2452
+ entryId: string | null;
2453
+ type: string;
2454
+ value: number | null;
2455
+ unit: string | null;
2456
+ appliesToEventId: string | null;
2457
+ appliesToSessionId: string | null;
2458
+ effectiveAt: string | null;
2459
+ status: string;
2460
+ provenance: {
2461
+ sourcePageId: string | null;
2462
+ sourceDocumentId?: string | null | undefined;
2463
+ kind?: "derived" | "published" | undefined;
2464
+ };
2465
+ }>, "many">>;
2466
+ }, "strip", z.ZodTypeAny, {
2467
+ id: string & z.BRAND<"JudicialDecisionId">;
2468
+ eventId: string & z.BRAND<"EventId">;
2469
+ hearingEventId: (string & z.BRAND<"EventId">) | null;
2470
+ sessionId: (string & z.BRAND<"SessionId">) | null;
2471
+ eventPermitId: (string & z.BRAND<"EventPermitId">) | null;
2472
+ noticeboardSnapshotId: (string & z.BRAND<"NoticeboardSnapshotId">) | null;
2473
+ decisionNumber: string | null;
2474
+ authority: string;
2475
+ type: string;
2476
+ issueTime: string | null;
2477
+ incidentTime: string | null;
2478
+ outcomeCode: string | null;
2479
+ status: string;
2480
+ supersedesDecisionId: (string & z.BRAND<"JudicialDecisionId">) | null;
2481
+ provenance: {
2482
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2483
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2484
+ kind?: "derived" | "published" | undefined;
2485
+ };
2486
+ participants?: {
2487
+ id: string;
2488
+ driverId: (string & z.BRAND<"DriverId">) | null;
2489
+ entryId: (string & z.BRAND<"EntryId">) | null;
2490
+ printedDriverName: string;
2491
+ raceNumber: string | null;
2492
+ role: string;
2493
+ sequence: number;
2494
+ }[] | undefined;
2495
+ citations?: {
2496
+ id: string;
2497
+ governingRuleSet: string | null;
2498
+ chapter: string | null;
2499
+ appendix: string | null;
2500
+ article: string | null;
2501
+ citation: string;
2502
+ sequence: number;
2503
+ }[] | undefined;
2504
+ evidence?: {
2505
+ id: string;
2506
+ evidenceType: string;
2507
+ associatedRaceNumber: string | null;
2508
+ sequence: number;
2509
+ }[] | undefined;
2510
+ officials?: {
2511
+ id: string;
2512
+ officialId: string & z.BRAND<"OfficialId">;
2513
+ officialName: string;
2514
+ role: string;
2515
+ signatoryOrder: number | null;
2516
+ signed: boolean;
2517
+ }[] | undefined;
2518
+ sanctions?: {
2519
+ id: string & z.BRAND<"SanctionId">;
2520
+ judicialDecisionId: string & z.BRAND<"JudicialDecisionId">;
2521
+ eventId: string & z.BRAND<"EventId">;
2522
+ sessionId: (string & z.BRAND<"SessionId">) | null;
2523
+ driverId: (string & z.BRAND<"DriverId">) | null;
2524
+ entryId: (string & z.BRAND<"EntryId">) | null;
2525
+ type: string;
2526
+ value: number | null;
2527
+ unit: string | null;
2528
+ appliesToEventId: (string & z.BRAND<"EventId">) | null;
2529
+ appliesToSessionId: (string & z.BRAND<"SessionId">) | null;
2530
+ effectiveAt: string | null;
2531
+ status: string;
2532
+ provenance: {
2533
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2534
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2535
+ kind?: "derived" | "published" | undefined;
2536
+ };
2537
+ }[] | undefined;
2538
+ }, {
2539
+ id: string;
2540
+ eventId: string;
2541
+ hearingEventId: string | null;
2542
+ sessionId: string | null;
2543
+ eventPermitId: string | null;
2544
+ noticeboardSnapshotId: string | null;
2545
+ decisionNumber: string | null;
2546
+ authority: string;
2547
+ type: string;
2548
+ issueTime: string | null;
2549
+ incidentTime: string | null;
2550
+ outcomeCode: string | null;
2551
+ status: string;
2552
+ supersedesDecisionId: string | null;
2553
+ provenance: {
2554
+ sourcePageId: string | null;
2555
+ sourceDocumentId?: string | null | undefined;
2556
+ kind?: "derived" | "published" | undefined;
2557
+ };
2558
+ participants?: {
2559
+ id: string;
2560
+ driverId: string | null;
2561
+ entryId: string | null;
2562
+ printedDriverName: string;
2563
+ raceNumber: string | null;
2564
+ role: string;
2565
+ sequence: number;
2566
+ }[] | undefined;
2567
+ citations?: {
2568
+ id: string;
2569
+ governingRuleSet: string | null;
2570
+ chapter: string | null;
2571
+ appendix: string | null;
2572
+ article: string | null;
2573
+ citation: string;
2574
+ sequence: number;
2575
+ }[] | undefined;
2576
+ evidence?: {
2577
+ id: string;
2578
+ evidenceType: string;
2579
+ associatedRaceNumber: string | null;
2580
+ sequence: number;
2581
+ }[] | undefined;
2582
+ officials?: {
2583
+ id: string;
2584
+ officialId: string;
2585
+ officialName: string;
2586
+ role: string;
2587
+ signatoryOrder: number | null;
2588
+ signed: boolean;
2589
+ }[] | undefined;
2590
+ sanctions?: {
2591
+ id: string;
2592
+ judicialDecisionId: string;
2593
+ eventId: string;
2594
+ sessionId: string | null;
2595
+ driverId: string | null;
2596
+ entryId: string | null;
2597
+ type: string;
2598
+ value: number | null;
2599
+ unit: string | null;
2600
+ appliesToEventId: string | null;
2601
+ appliesToSessionId: string | null;
2602
+ effectiveAt: string | null;
2603
+ status: string;
2604
+ provenance: {
2605
+ sourcePageId: string | null;
2606
+ sourceDocumentId?: string | null | undefined;
2607
+ kind?: "derived" | "published" | undefined;
2608
+ };
2609
+ }[] | undefined;
2610
+ }>;
2611
+ export declare const LicencePenaltyPointSchema: z.ZodObject<{
2612
+ id: z.ZodString;
2613
+ sanctionId: z.ZodBranded<z.ZodString, "SanctionId">;
2614
+ driverId: z.ZodBranded<z.ZodString, "DriverId">;
2615
+ points: z.ZodNumber;
2616
+ imposedAt: z.ZodString;
2617
+ effectiveAt: z.ZodString;
2618
+ expiresAt: z.ZodNullable<z.ZodString>;
2619
+ status: z.ZodString;
2620
+ reversesRecordId: z.ZodNullable<z.ZodString>;
2621
+ provenance: z.ZodObject<{
2622
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
2623
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
2624
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
2625
+ }, "strip", z.ZodTypeAny, {
2626
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2627
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2628
+ kind?: "derived" | "published" | undefined;
2629
+ }, {
2630
+ sourcePageId: string | null;
2631
+ sourceDocumentId?: string | null | undefined;
2632
+ kind?: "derived" | "published" | undefined;
2633
+ }>;
2634
+ }, "strip", z.ZodTypeAny, {
2635
+ id: string;
2636
+ sanctionId: string & z.BRAND<"SanctionId">;
2637
+ driverId: string & z.BRAND<"DriverId">;
2638
+ points: number;
2639
+ imposedAt: string;
2640
+ effectiveAt: string;
2641
+ expiresAt: string | null;
2642
+ status: string;
2643
+ reversesRecordId: string | null;
2644
+ provenance: {
2645
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2646
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2647
+ kind?: "derived" | "published" | undefined;
2648
+ };
2649
+ }, {
2650
+ id: string;
2651
+ sanctionId: string;
2652
+ driverId: string;
2653
+ points: number;
2654
+ imposedAt: string;
2655
+ effectiveAt: string;
2656
+ expiresAt: string | null;
2657
+ status: string;
2658
+ reversesRecordId: string | null;
2659
+ provenance: {
2660
+ sourcePageId: string | null;
2661
+ sourceDocumentId?: string | null | undefined;
2662
+ kind?: "derived" | "published" | undefined;
2663
+ };
2664
+ }>;
2665
+ export declare const DriverPenaltyBalanceSchema: z.ZodObject<{
2666
+ driverId: z.ZodBranded<z.ZodString, "DriverId">;
2667
+ driverName: z.ZodString;
2668
+ activeLicencePoints: z.ZodNumber;
2669
+ licencePointIncidents: z.ZodNumber;
2670
+ championshipPointsDeducted: z.ZodNumber;
2671
+ }, "strip", z.ZodTypeAny, {
2672
+ driverId: string & z.BRAND<"DriverId">;
2673
+ driverName: string;
2674
+ activeLicencePoints: number;
2675
+ licencePointIncidents: number;
2676
+ championshipPointsDeducted: number;
2677
+ }, {
2678
+ driverId: string;
2679
+ driverName: string;
2680
+ activeLicencePoints: number;
2681
+ licencePointIncidents: number;
2682
+ championshipPointsDeducted: number;
2683
+ }>;
2684
+ export declare const ChampionshipAdjustmentSchema: z.ZodObject<{
2685
+ id: z.ZodString;
2686
+ championshipId: z.ZodBranded<z.ZodString, "ChampionshipId">;
2687
+ seasonYear: z.ZodNumber;
2688
+ competitionClass: z.ZodString;
2689
+ driverId: z.ZodBranded<z.ZodString, "DriverId">;
2690
+ adjustmentType: z.ZodString;
2691
+ pointsDelta: z.ZodNumber;
2692
+ reason: z.ZodString;
2693
+ decisionNumber: z.ZodNullable<z.ZodString>;
2694
+ decisionTime: z.ZodNullable<z.ZodString>;
2695
+ sourceSanctionId: z.ZodNullable<z.ZodBranded<z.ZodString, "SanctionId">>;
2696
+ sourceLicencePenaltyPointId: z.ZodNullable<z.ZodString>;
2697
+ deductionMultiplier: z.ZodNullable<z.ZodNumber>;
2698
+ calculationVersion: z.ZodNullable<z.ZodString>;
2699
+ provenance: z.ZodObject<{
2700
+ sourcePageId: z.ZodNullable<z.ZodBranded<z.ZodString, "SourcePageId">>;
2701
+ sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "SourceDocumentId">>>;
2702
+ kind: z.ZodOptional<z.ZodEnum<["published", "derived"]>>;
2703
+ }, "strip", z.ZodTypeAny, {
2704
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2705
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2706
+ kind?: "derived" | "published" | undefined;
2707
+ }, {
2708
+ sourcePageId: string | null;
2709
+ sourceDocumentId?: string | null | undefined;
2710
+ kind?: "derived" | "published" | undefined;
2711
+ }>;
2712
+ }, "strip", z.ZodTypeAny, {
2713
+ id: string;
2714
+ championshipId: string & z.BRAND<"ChampionshipId">;
2715
+ seasonYear: number;
2716
+ competitionClass: string;
2717
+ driverId: string & z.BRAND<"DriverId">;
2718
+ adjustmentType: string;
2719
+ pointsDelta: number;
2720
+ reason: string;
2721
+ decisionNumber: string | null;
2722
+ decisionTime: string | null;
2723
+ sourceSanctionId: (string & z.BRAND<"SanctionId">) | null;
2724
+ sourceLicencePenaltyPointId: string | null;
2725
+ deductionMultiplier: number | null;
2726
+ calculationVersion: string | null;
2727
+ provenance: {
2728
+ sourcePageId: (string & z.BRAND<"SourcePageId">) | null;
2729
+ sourceDocumentId?: (string & z.BRAND<"SourceDocumentId">) | null | undefined;
2730
+ kind?: "derived" | "published" | undefined;
2731
+ };
2732
+ }, {
2733
+ id: string;
2734
+ championshipId: string;
2735
+ seasonYear: number;
2736
+ competitionClass: string;
2737
+ driverId: string;
2738
+ adjustmentType: string;
2739
+ pointsDelta: number;
2740
+ reason: string;
2741
+ decisionNumber: string | null;
2742
+ decisionTime: string | null;
2743
+ sourceSanctionId: string | null;
2744
+ sourceLicencePenaltyPointId: string | null;
2745
+ deductionMultiplier: number | null;
2746
+ calculationVersion: string | null;
2747
+ provenance: {
2748
+ sourcePageId: string | null;
2749
+ sourceDocumentId?: string | null | undefined;
2750
+ kind?: "derived" | "published" | undefined;
2751
+ };
2752
+ }>;
2753
+ export declare const DataQualitySummarySchema: z.ZodObject<{
2754
+ resourceType: z.ZodString;
2755
+ resourceId: z.ZodString;
2756
+ pages: z.ZodNumber;
2757
+ verified: z.ZodNumber;
2758
+ rejected: z.ZodNumber;
2759
+ rerenderRequired: z.ZodNumber;
2760
+ notApplicable: z.ZodNumber;
2761
+ latestReviewAt: z.ZodNullable<z.ZodString>;
2762
+ }, "strip", z.ZodTypeAny, {
2763
+ resourceType: string;
2764
+ resourceId: string;
2765
+ pages: number;
2766
+ verified: number;
2767
+ rejected: number;
2768
+ rerenderRequired: number;
2769
+ notApplicable: number;
2770
+ latestReviewAt: string | null;
2771
+ }, {
2772
+ resourceType: string;
2773
+ resourceId: string;
2774
+ pages: number;
2775
+ verified: number;
2776
+ rejected: number;
2777
+ rerenderRequired: number;
2778
+ notApplicable: number;
2779
+ latestReviewAt: string | null;
2780
+ }>;
2781
+ //# sourceMappingURL=resources.d.ts.map