@dvsa/cvs-type-definitions 2.0.14 → 2.0.18

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.
Files changed (53) hide show
  1. package/json-schemas/v1/activity/index.json +62 -62
  2. package/json-schemas/v1/defect-category-reference-data/index.json +440 -440
  3. package/json-schemas/v1/defect-details/index.json +265 -265
  4. package/json-schemas/v1/defect-location/index.json +49 -49
  5. package/json-schemas/v1/reason-item/index.json +17 -17
  6. package/json-schemas/v1/tech-record/index.json +639 -639
  7. package/json-schemas/v1/test/index.json +1843 -1843
  8. package/json-schemas/v1/test-result/index.json +636 -636
  9. package/json-schemas/v1/test-station/index.json +67 -67
  10. package/json-schemas/v1/test-type/index.json +479 -479
  11. package/json-schemas/v1/vehicle/index.json +1804 -1804
  12. package/json-schemas/v1/vehicle-tech-record/index.json +683 -683
  13. package/json-schemas/v1/visit/index.json +1895 -1895
  14. package/json-schemas/v3/tech-record/get/car/complete/index.json +216 -216
  15. package/json-schemas/v3/tech-record/get/car/skeleton/index.json +195 -195
  16. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +1051 -1051
  17. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1124 -1124
  18. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +1119 -1119
  19. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +226 -226
  20. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +202 -202
  21. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +219 -219
  22. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +202 -202
  23. package/json-schemas/v3/tech-record/get/psv/complete/index.json +1027 -1027
  24. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +1120 -1120
  25. package/json-schemas/v3/tech-record/get/psv/testable/index.json +1097 -1097
  26. package/json-schemas/v3/tech-record/get/search/complete/index.json +55 -55
  27. package/json-schemas/v3/tech-record/get/search/skeleton/index.json +55 -55
  28. package/json-schemas/v3/tech-record/get/trl/complete/index.json +1307 -1307
  29. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1002 -1002
  30. package/json-schemas/v3/tech-record/get/trl/testable/index.json +1155 -1155
  31. package/json-schemas/v3/tech-record/post/psv/complete/index.json +1024 -1024
  32. package/json-schemas/v3/tech-record/post/psv/skeleton/index.json +1112 -1112
  33. package/json-schemas/v3/tech-record/post/psv/testable/index.json +1092 -1092
  34. package/json-schemas/v3/tech-record/put/car/complete/request/index.json +87 -87
  35. package/json-schemas/v3/tech-record/put/car/complete/response/index.json +237 -237
  36. package/json-schemas/v3/tech-record/put/car/skeleton/request/index.json +64 -64
  37. package/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +216 -216
  38. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1009 -1009
  39. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1082 -1082
  40. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1077 -1077
  41. package/json-schemas/v3/tech-record/put/lgv/complete/request/index.json +97 -97
  42. package/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +247 -247
  43. package/json-schemas/v3/tech-record/put/lgv/skeleton/request/index.json +71 -71
  44. package/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +223 -223
  45. package/json-schemas/v3/tech-record/put/trl/complete/index.json +1265 -1265
  46. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +978 -978
  47. package/json-schemas/v3/tech-record/put/trl/testable/index.json +1115 -1115
  48. package/package.json +31 -36
  49. package/{lib/src/schema-validation/schema-validator.d.ts → schema-validator.d.ts} +1 -1
  50. package/{lib/src/schema-validation/schema-validator.js → schema-validator.js} +2 -2
  51. package/README.md +0 -48
  52. /package/{lib/schemas.d.ts → schemas.d.ts} +0 -0
  53. /package/{lib/schemas.js → schemas.js} +0 -0
@@ -1,1124 +1,1124 @@
1
- {
2
- "title": "GET HGV Technical Record V3 Skeleton",
3
- "type": "object",
4
- "additionalProperties": false,
5
- "required": [
6
- "createdTimestamp",
7
- "partialVin",
8
- "systemNumber",
9
- "techRecord_createdAt",
10
- "techRecord_createdById",
11
- "techRecord_createdByName",
12
- "techRecord_reasonForCreation",
13
- "techRecord_recordCompleteness",
14
- "techRecord_statusCode",
15
- "techRecord_vehicleType",
16
- "primaryVrm",
17
- "vin"
18
- ],
19
- "properties": {
20
- "createdTimestamp": {
21
- "type": "string"
22
- },
23
- "partialVin": {
24
- "type": "string"
25
- },
26
- "systemNumber": {
27
- "type": "string"
28
- },
29
- "techRecord_adrDetails_vehicleDetails_type": {
30
- "type": [
31
- "string",
32
- "null"
33
- ]
34
- },
35
- "techRecord_adrDetails_vehicleDetails_approvalDate": {
36
- "type": [
37
- "string",
38
- "null"
39
- ]
40
- },
41
- "techRecord_adrDetails_permittedDangerousGoods": {
42
- "type": [
43
- "array",
44
- "null"
45
- ],
46
- "items": {
47
- "type": "string"
48
- }
49
- },
50
- "techRecord_adrDetails_compatibilityGroupJ": {
51
- "type": [
52
- "boolean",
53
- "null"
54
- ]
55
- },
56
- "techRecord_adrDetails_additionalExaminerNotes": {
57
- "type": [
58
- "string",
59
- "null"
60
- ],
61
- "maxLength": 1024
62
- },
63
- "techRecord_adrDetails_applicantDetails_name": {
64
- "type": [
65
- "string",
66
- "null"
67
- ],
68
- "maxLength": 150
69
- },
70
- "techRecord_adrDetails_applicantDetails_street": {
71
- "type": [
72
- "string",
73
- "null"
74
- ],
75
- "maxLength": 150
76
- },
77
- "techRecord_adrDetails_applicantDetails_town": {
78
- "type": [
79
- "string",
80
- "null"
81
- ],
82
- "maxLength": 100
83
- },
84
- "techRecord_adrDetails_applicantDetails_city": {
85
- "type": [
86
- "string",
87
- "null"
88
- ],
89
- "maxLength": 100
90
- },
91
- "techRecord_adrDetails_applicantDetails_postcode": {
92
- "type": [
93
- "string",
94
- "null"
95
- ],
96
- "maxLength": 25
97
- },
98
- "techRecord_adrDetails_memosApply": {
99
- "type": [
100
- "array",
101
- "null"
102
- ],
103
- "items": {
104
- "type": [
105
- "string"
106
- ]
107
- }
108
- },
109
- "techRecord_adrDetails_documents": {
110
- "type": [
111
- "array",
112
- "null"
113
- ],
114
- "items": {
115
- "type": [
116
- "string"
117
- ]
118
- }
119
- },
120
- "techRecord_adrDetails_listStatementApplicable": {
121
- "type": [
122
- "boolean",
123
- "null"
124
- ]
125
- },
126
- "techRecord_adrDetails_batteryListNumber": {
127
- "type": [
128
- "string",
129
- "null"
130
- ],
131
- "maxLength": 8
132
- },
133
- "techRecord_adrDetails_brakeDeclarationsSeen": {
134
- "type": [
135
- "boolean",
136
- "null"
137
- ]
138
- },
139
- "techRecord_adrDetails_brakeDeclarationIssuer": {
140
- "type": [
141
- "string",
142
- "null"
143
- ]
144
- },
145
- "techRecord_adrDetails_brakeEndurance": {
146
- "type": [
147
- "boolean",
148
- "null"
149
- ]
150
- },
151
- "techRecord_adrDetails_weight": {
152
- "type": [
153
- "string",
154
- "null"
155
- ],
156
- "maxLength": 8
157
- },
158
- "techRecord_adrDetails_declarationsSeen": {
159
- "type": [
160
- "boolean",
161
- "null"
162
- ]
163
- },
164
- "techRecord_adrDetails_additionalNotes_guidanceNotes": {
165
- "type": [
166
- "array",
167
- "null"
168
- ],
169
- "items": {
170
- "type": "string"
171
- }
172
- },
173
- "techRecord_adrDetails_additionalNotes_number": {
174
- "type": [
175
- "array",
176
- "null"
177
- ],
178
- "items": {
179
- "type": "string"
180
- }
181
- },
182
- "techRecord_adrDetails_adrTypeApprovalNo": {
183
- "type": [
184
- "string",
185
- "null"
186
- ]
187
- },
188
- "techRecord_adrDetails_adrCertificateNotes": {
189
- "type": [
190
- "string",
191
- "null"
192
- ],
193
- "maxLength": 1500
194
- },
195
- "techRecord_adrDetails_tank_tankDetails_tankManufacturer": {
196
- "type": [
197
- "string",
198
- "null"
199
- ],
200
- "maxLength": 70
201
- },
202
- "techRecord_adrDetails_tank_tankDetails_yearOfManufacture": {
203
- "type": [
204
- "integer",
205
- "null"
206
- ],
207
- "maximum": 9999
208
- },
209
- "techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo": {
210
- "type": [
211
- "string",
212
- "null"
213
- ],
214
- "maxLength": 50
215
- },
216
- "techRecord_adrDetails_tank_tankDetails_tankTypeAppNo": {
217
- "type": [
218
- "string",
219
- "null"
220
- ],
221
- "maxLength": 30
222
- },
223
- "techRecord_adrDetails_tank_tankDetails_tankCode": {
224
- "type": [
225
- "string",
226
- "null"
227
- ],
228
- "maxLength": 30
229
- },
230
- "techRecord_adrDetails_tank_tankDetails_specialProvisions": {
231
- "type": [
232
- "string",
233
- "null"
234
- ],
235
- "maxLength": 1024
236
- },
237
- "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type": {
238
- "anyOf": [
239
- {
240
- "type": "null"
241
- },
242
- {
243
- "title": "TC2 Types",
244
- "type": "string",
245
- "enum": [
246
- "initial"
247
- ]
248
- }
249
- ]
250
- },
251
- "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo": {
252
- "type": [
253
- "string",
254
- "null"
255
- ],
256
- "maxLength": 70
257
- },
258
- "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate": {
259
- "type": [
260
- "string",
261
- "null"
262
- ]
263
- },
264
- "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
265
- "anyOf": [
266
- {
267
- "type": "null"
268
- },
269
- {
270
- "title": "TC3 Types",
271
- "type": "string",
272
- "enum": [
273
- "intermediate",
274
- "periodic",
275
- "exceptional"
276
- ]
277
- }
278
- ]
279
- },
280
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
281
- "type": [
282
- "string",
283
- "null"
284
- ],
285
- "maxLength": 75
286
- },
287
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
288
- "type": [
289
- "string",
290
- "null"
291
- ]
292
- },
293
- "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
294
- "type": [
295
- "string",
296
- "null"
297
- ]
298
- },
299
- "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
300
- "type": [
301
- "string",
302
- "null"
303
- ],
304
- "maxLength": 1500
305
- },
306
- "techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo": {
307
- "type": [
308
- "string",
309
- "null"
310
- ]
311
- },
312
- "techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo": {
313
- "type": [
314
- "array",
315
- "null"
316
- ],
317
- "items": {
318
- "type": [
319
- "string"
320
- ]
321
- }
322
- },
323
- "techRecord_adrDetails_tank_tankDetails_tankStatement_productList": {
324
- "type": [
325
- "string",
326
- "null"
327
- ],
328
- "maxLength": 1500
329
- },
330
- "techRecord_alterationMarker": {
331
- "type": [
332
- "boolean",
333
- "null"
334
- ]
335
- },
336
- "techRecord_applicantDetails_name": {
337
- "type": [
338
- "string",
339
- "null"
340
- ],
341
- "maxLength": 150
342
- },
343
- "techRecord_applicantDetails_address1": {
344
- "type": [
345
- "null",
346
- "string"
347
- ],
348
- "maxLength": 60
349
- },
350
- "techRecord_applicantDetails_address2": {
351
- "type": [
352
- "null",
353
- "string"
354
- ],
355
- "maxLength": 60
356
- },
357
- "techRecord_applicantDetails_postTown": {
358
- "type": [
359
- "null",
360
- "string"
361
- ],
362
- "maxLength": 60
363
- },
364
- "techRecord_applicantDetails_address3": {
365
- "type": [
366
- "null",
367
- "string"
368
- ],
369
- "maxLength": 60
370
- },
371
- "techRecord_applicantDetails_postCode": {
372
- "type": [
373
- "null",
374
- "string"
375
- ],
376
- "maxLength": 12
377
- },
378
- "techRecord_applicantDetails_telephoneNumber": {
379
- "type": [
380
- "null",
381
- "string"
382
- ],
383
- "maxLength": 25
384
- },
385
- "techRecord_applicantDetails_emailAddress": {
386
- "type": [
387
- "null",
388
- "string"
389
- ],
390
- "maxLength": 255
391
- },
392
- "techRecord_applicationId": {
393
- "type": [
394
- "string",
395
- "null"
396
- ]
397
- },
398
- "axles": {
399
- "type": "array",
400
- "items": {
401
- "type": "object",
402
- "title": "HGV Axles",
403
- "additionalProperties": false,
404
- "properties": {
405
- "techRecord_parkingBrakeMrk": {
406
- "type": [
407
- "boolean",
408
- "null"
409
- ]
410
- },
411
- "techRecord_axleNumber": {
412
- "type": [
413
- "integer",
414
- "null"
415
- ]
416
- },
417
- "techRecord_weights_gbWeight": {
418
- "type": [
419
- "integer",
420
- "null"
421
- ],
422
- "minimum": 0,
423
- "maximum": 99999
424
- },
425
- "techRecord_weights_designWeight": {
426
- "type": [
427
- "integer",
428
- "null"
429
- ],
430
- "minimum": 0,
431
- "maximum": 99999
432
- },
433
- "techRecord_weights_eecWeight": {
434
- "type": [
435
- "integer",
436
- "null"
437
- ],
438
- "minimum": 0,
439
- "maximum": 99999
440
- },
441
- "techRecord_tyres_tyreCode": {
442
- "type": [
443
- "integer",
444
- "null"
445
- ],
446
- "minimum": 0,
447
- "maximum": 99999
448
- },
449
- "techRecord_tyres_tyreSize": {
450
- "type": [
451
- "string",
452
- "null"
453
- ],
454
- "maxLength": 12
455
- },
456
- "techRecord_tyres_plyRating": {
457
- "type": [
458
- "string",
459
- "null"
460
- ]
461
- },
462
- "techRecord_tyres_fitmentCode": {
463
- "anyOf": [
464
- {
465
- "type": "null"
466
- },
467
- {
468
- "title": "Fitment Code",
469
- "type": "string",
470
- "enum": [
471
- "single",
472
- "double"
473
- ]
474
- }
475
- ]
476
- },
477
- "techRecord_tyres_dataTrAxles": {
478
- "type": [
479
- "null",
480
- "integer"
481
- ],
482
- "minimum": 0,
483
- "maximum": 999
484
- }
485
- }
486
- }
487
- },
488
- "techRecord_bodyType_code": {
489
- "type": "string"
490
- },
491
- "techRecord_bodyType_description": {
492
- "type": "string"
493
- },
494
- "techRecord_brakes_antilockBrakingSystem": {
495
- "type": [
496
- "string",
497
- "null"
498
- ]
499
- },
500
- "techRecord_brakes_dtpNumber": {
501
- "type": [
502
- "string",
503
- "null"
504
- ],
505
- "maxLength": 6
506
- },
507
- "techRecord_brakes_loadSensingValve": {
508
- "type": [
509
- "boolean",
510
- "null"
511
- ]
512
- },
513
- "techRecord_conversionRefNo": {
514
- "type": [
515
- "string",
516
- "null"
517
- ],
518
- "maxLength": 10
519
- },
520
- "techRecord_createdAt": {
521
- "type": "string"
522
- },
523
- "techRecord_createdById": {
524
- "type": "string"
525
- },
526
- "techRecord_createdByName": {
527
- "type": "string"
528
- },
529
- "techRecord_departmentalVehicleMarker": {
530
- "type": [
531
- "boolean",
532
- "null"
533
- ]
534
- },
535
- "techRecord_dimensions_axleSpacing_axles": {
536
- "type": "string"
537
- },
538
- "techRecord_dimensions_axleSpacing_value": {
539
- "type": [
540
- "integer",
541
- "null"
542
- ],
543
- "maximum": 99999,
544
- "minimum": 0
545
- },
546
- "techRecord_dimensions_length": {
547
- "type": [
548
- "integer",
549
- "null"
550
- ],
551
- "maximum": 99999,
552
- "minimum": 0
553
- },
554
- "techRecord_dimensions_width": {
555
- "type": [
556
- "integer",
557
- "null"
558
- ],
559
- "maximum": 99999,
560
- "minimum": 0
561
- },
562
- "techRecord_drawbarCouplingFitted": {
563
- "type": [
564
- "boolean",
565
- "null"
566
- ]
567
- },
568
- "techRecord_emissionsLimit": {
569
- "type": [
570
- "null",
571
- "integer"
572
- ],
573
- "minimum": 0,
574
- "maximum": 99
575
- },
576
- "techRecord_euroStandard": {
577
- "type": [
578
- "string",
579
- "null"
580
- ]
581
- },
582
- "techRecord_euVehicleCategory": {
583
- "anyOf": [
584
- {
585
- "title": "EU vehicle category",
586
- "type": "string",
587
- "enum": [
588
- "m1",
589
- "m2",
590
- "m3",
591
- "n1",
592
- "n2",
593
- "n3",
594
- "o1",
595
- "o2",
596
- "o3",
597
- "o4",
598
- "l1e-a",
599
- "l1e",
600
- "l2e",
601
- "l3e",
602
- "l4e",
603
- "l5e",
604
- "l6e",
605
- "l7e"
606
- ]
607
- },
608
- {
609
- "type": "null"
610
- }
611
- ]
612
- },
613
- "techRecord_frontAxleToRearAxle": {
614
- "type": [
615
- "integer",
616
- "null"
617
- ],
618
- "maximum": 99999,
619
- "minimum": 0
620
- },
621
- "techRecord_frontAxleTo5thWheelMin": {
622
- "type": [
623
- "integer",
624
- "null"
625
- ],
626
- "maximum": 99999,
627
- "minimum": 0
628
- },
629
- "techRecord_frontAxleTo5thWheelMax": {
630
- "type": [
631
- "integer",
632
- "null"
633
- ],
634
- "maximum": 99999,
635
- "minimum": 0
636
- },
637
- "techRecord_frontVehicleTo5thWheelCouplingMin": {
638
- "type": [
639
- "integer",
640
- "null"
641
- ],
642
- "maximum": 99999,
643
- "minimum": 0
644
- },
645
- "techRecord_frontVehicleTo5thWheelCouplingMax": {
646
- "type": [
647
- "integer",
648
- "null"
649
- ],
650
- "maximum": 99999,
651
- "minimum": 0
652
- },
653
- "techRecord_fuelPropulsionSystem": {
654
- "anyOf": [
655
- {
656
- "title": "Fuel Propulsion System",
657
- "type": "string",
658
- "enum": [
659
- "DieselPetrol",
660
- "Diesel",
661
- "Petrol",
662
- "Hybrid",
663
- "Electric",
664
- "CNG",
665
- "Fuel cell",
666
- "LNG",
667
- "Other"
668
- ]
669
- },
670
- {
671
- "type": "null"
672
- }
673
- ]
674
- },
675
- "techRecord_functionCode": {
676
- "type": [
677
- "string",
678
- "null"
679
- ],
680
- "maxLength": 1
681
- },
682
- "techRecord_grossDesignWeight": {
683
- "type": [
684
- "integer",
685
- "null"
686
- ],
687
- "maximum": 99999,
688
- "minimum": 0
689
- },
690
- "techRecord_grossEecWeight": {
691
- "type": [
692
- "integer",
693
- "null"
694
- ],
695
- "maximum": 99999,
696
- "minimum": 0
697
- },
698
- "techRecord_grossGbWeight": {
699
- "type": [
700
- "integer",
701
- "null"
702
- ],
703
- "maximum": 99999,
704
- "minimum": 0
705
- },
706
- "techRecord_make": {
707
- "type": [
708
- "string",
709
- "null"
710
- ],
711
- "maxLength": 30
712
- },
713
- "techRecord_maxTrainGbWeight": {
714
- "type": [
715
- "number",
716
- "null"
717
- ],
718
- "maximum": 99999,
719
- "minimum": 0
720
- },
721
- "techRecord_maxTrainEecWeight": {
722
- "type": [
723
- "number",
724
- "null"
725
- ],
726
- "maximum": 99999,
727
- "minimum": 0
728
- },
729
- "techRecord_maxTrainDesignWeight": {
730
- "type": [
731
- "number",
732
- "null"
733
- ],
734
- "maximum": 99999,
735
- "minimum": 0
736
- },
737
- "techRecord_manufactureYear": {
738
- "anyOf": [
739
- {
740
- "type": "integer",
741
- "minimum": 0,
742
- "maximum": 9999
743
- },
744
- {
745
- "type": "null"
746
- }
747
- ]
748
- },
749
- "techRecord_microfilm_microfilmDocumentType": {
750
- "anyOf": [
751
- {
752
- "type": "null"
753
- },
754
- {
755
- "title": "Microfilm Document Types",
756
- "type": "string",
757
- "enum": [
758
- "PSV Miscellaneous",
759
- "AAT - Trailer Annual Test",
760
- "AIV - HGV International App",
761
- "COIF Modification",
762
- "Trailer COC + Int Plate",
763
- "RCT - Trailer Test Cert paid",
764
- "HGV COC + Int Plate",
765
- "PSV Carry/Auth",
766
- "OMO Report",
767
- "AIT - Trailer International App",
768
- "IPV - HGV EEC Plate/Cert",
769
- "XCV - HGV Test Cert free",
770
- "AAV - HGV Annual Test",
771
- "COIF Master",
772
- "Tempo 100 Sp Ord",
773
- "Deleted",
774
- "PSV N/ALT",
775
- "XPT - Tr Plating Cert paid",
776
- "FFV - HGV First Test",
777
- "Repl Vitesse 100",
778
- "TCV - HGV Test Cert",
779
- "ZZZ - Miscellaneous",
780
- "Test Certificate",
781
- "XCT - Trailer Test Cert free",
782
- "C52 - COC and VTG52A",
783
- "Tempo 100 Report",
784
- "Main File Amendment",
785
- "PSV Doc",
786
- "PSV COC",
787
- "PSV Repl COC",
788
- "TAV - COC",
789
- "NPT - Trailer Alteration",
790
- "OMO Certificate",
791
- "PSV Repl COIF",
792
- "PSV Repl COF",
793
- "COIF Application",
794
- "XPV - HGV Plating Cert Free",
795
- "TCT - Trailer Test Cert",
796
- "Tempo 100 App",
797
- "PSV Decision on N/ALT",
798
- "Special Order PSV",
799
- "NPV - HGV Alteration",
800
- "No Description Found",
801
- "Vitesse 100 Sp Ord",
802
- "Brake Test Details",
803
- "COIF Productional",
804
- "RDT - Test Disc Paid",
805
- "RCV - HGV Test Cert",
806
- "FFT - Trailer First Test",
807
- "IPT - Trailer EEC Plate/Cert",
808
- "XDT - Test Disc Free",
809
- "PRV - HGV Plating Cert paid",
810
- "COF Cert",
811
- "PRT - Tr Plating Cert paid",
812
- "Tempo 100 Permit"
813
- ]
814
- }
815
- ]
816
- },
817
- "techRecord_microfilm_microfilmRollNumber": {
818
- "type": [
819
- "string",
820
- "null"
821
- ],
822
- "maxLength": 5
823
- },
824
- "techRecord_microfilm_microfilmSerialNumber": {
825
- "type": [
826
- "string",
827
- "null"
828
- ],
829
- "maxLength": 4
830
- },
831
- "techRecord_model": {
832
- "type": [
833
- "string",
834
- "null"
835
- ],
836
- "maxLength": 30
837
- },
838
- "techRecord_numberOfWheelsDriven": {
839
- "type": [
840
- "integer",
841
- "null"
842
- ]
843
- },
844
- "techRecord_noOfAxles": {
845
- "anyOf": [
846
- {
847
- "type": "integer",
848
- "minimum": 0,
849
- "maximum": 99
850
- },
851
- {
852
- "type": "null"
853
- }
854
- ]
855
- },
856
- "techRecord_notes": {
857
- "type": [
858
- "string",
859
- "null"
860
- ]
861
- },
862
- "techRecord_offRoad": {
863
- "type": [
864
- "boolean",
865
- "null"
866
- ]
867
- },
868
- "plates": {
869
- "type": "array",
870
- "items": {
871
- "type": "object",
872
- "title": "HGV Plates",
873
- "additionalProperties": false,
874
- "properties": {
875
- "techRecord_plateSerialNumber": {
876
- "type": [
877
- "string",
878
- "null"
879
- ],
880
- "maxLength": 12
881
- },
882
- "techRecord_plateIssueDate": {
883
- "type": [
884
- "string",
885
- "null"
886
- ]
887
- },
888
- "techRecord_reasonForIssue": {
889
- "anyOf": [
890
- {
891
- "type": "null"
892
- },
893
- {
894
- "title": "Plate Reason For Issue",
895
- "type": "string",
896
- "enum": [
897
- "Free replacement",
898
- "Replacement",
899
- "Destroyed",
900
- "Provisional",
901
- "Original",
902
- "Manual"
903
- ]
904
- }
905
- ]
906
- },
907
- "techRecord_plateIssuer": {
908
- "type": [
909
- "string",
910
- "null"
911
- ],
912
- "maxLength": 150
913
- }
914
- }
915
- }
916
- },
917
- "techRecord_reasonForCreation": {
918
- "type": "string"
919
- },
920
- "techRecord_recordCompleteness": {
921
- "const": "skeleton"
922
- },
923
- "techRecord_regnDate": {
924
- "anyOf": [
925
- {
926
- "type": "string",
927
- "pattern": "^$"
928
- },
929
- {
930
- "type": "string",
931
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
932
- },
933
- {
934
- "type": "null"
935
- }
936
- ]
937
- },
938
- "techRecord_roadFriendly": {
939
- "type": [
940
- "boolean",
941
- "null"
942
- ]
943
- },
944
- "techRecord_statusCode": {
945
- "title": "Status Code",
946
- "type": "string",
947
- "enum": [
948
- "provisional",
949
- "current",
950
- "archived"
951
- ]
952
- },
953
- "techRecord_speedLimiterMrk": {
954
- "type": [
955
- "boolean",
956
- "null"
957
- ]
958
- },
959
- "techRecord_tachoExemptMrk": {
960
- "type": [
961
- "boolean",
962
- "null"
963
- ]
964
- },
965
- "techRecord_trainDesignWeight": {
966
- "type": [
967
- "integer",
968
- "null"
969
- ],
970
- "minimum": 0,
971
- "maximum": 99999
972
- },
973
- "techRecord_trainEecWeight": {
974
- "type": [
975
- "number",
976
- "null"
977
- ],
978
- "maximum": 99999,
979
- "minimum": 0
980
- },
981
- "techRecord_trainGbWeight": {
982
- "type": [
983
- "number",
984
- "null"
985
- ],
986
- "maximum": 99999,
987
- "minimum": 0
988
- },
989
- "techRecord_tyreUseCode": {
990
- "type": [
991
- "string",
992
- "null"
993
- ],
994
- "maxLength": 2
995
- },
996
- "techRecord_vehicleClass_code": {
997
- "type": "string"
998
- },
999
- "techRecord_vehicleClass_description": {
1000
- "title": "Vehicle Class Description",
1001
- "type": "string",
1002
- "enum": [
1003
- "motorbikes over 200cc or with a sidecar",
1004
- "not applicable",
1005
- "small psv (ie: less than or equal to 22 seats)",
1006
- "motorbikes up to 200cc",
1007
- "trailer",
1008
- "large psv(ie: greater than 23 seats)",
1009
- "3 wheelers",
1010
- "heavy goods vehicle",
1011
- "MOT class 4",
1012
- "MOT class 7",
1013
- "MOT class 5"
1014
- ]
1015
- },
1016
- "techRecord_vehicleConfiguration": {
1017
- "anyOf": [
1018
- {
1019
- "title": "Vehicle Configuration",
1020
- "type": "string",
1021
- "enum": [
1022
- "rigid",
1023
- "articulated",
1024
- "centre axle drawbar",
1025
- "semi-car transporter",
1026
- "semi-trailer",
1027
- "long semi-trailer",
1028
- "low loader",
1029
- "other",
1030
- "drawbar",
1031
- "four-in-line",
1032
- "dolly",
1033
- "full drawbar"
1034
- ]
1035
- },
1036
- {
1037
- "type": "null"
1038
- }
1039
- ]
1040
- },
1041
- "techRecord_approvalType": {
1042
- "anyOf": [
1043
- {
1044
- "title": "Approval Type",
1045
- "type": "string",
1046
- "enum": [
1047
- "NTA",
1048
- "ECTA",
1049
- "IVA",
1050
- "NSSTA",
1051
- "ECSSTA",
1052
- "GB WVTA",
1053
- "UKNI WVTA",
1054
- "EU WVTA Pre 23",
1055
- "EU WVTA 23 on",
1056
- "QNIG",
1057
- "Prov.GB WVTA",
1058
- "Small series",
1059
- "IVA - VCA",
1060
- "IVA - DVSA/NI"
1061
- ]
1062
- },
1063
- {
1064
- "type": "null"
1065
- }
1066
- ]
1067
- },
1068
- "techRecord_approvalTypeNumber": {
1069
- "type": [
1070
- "string",
1071
- "null"
1072
- ],
1073
- "maxLength": 25
1074
- },
1075
- "techRecord_ntaNumber": {
1076
- "type": [
1077
- "string",
1078
- "null"
1079
- ],
1080
- "maxLength": 40
1081
- },
1082
- "techRecord_variantNumber": {
1083
- "type": [
1084
- "string",
1085
- "null"
1086
- ],
1087
- "maxLength": 25
1088
- },
1089
- "techRecord_variantVersionNumber": {
1090
- "type": [
1091
- "string",
1092
- "null"
1093
- ],
1094
- "maxLength": 35
1095
- },
1096
- "techRecord_lastUpdatedAt": {
1097
- "type": [
1098
- "string",
1099
- "null"
1100
- ]
1101
- },
1102
- "techRecord_lastUpdatedByName": {
1103
- "type": [
1104
- "string",
1105
- "null"
1106
- ]
1107
- },
1108
- "techRecord_lastUpdatedById": {
1109
- "type": [
1110
- "string",
1111
- "null"
1112
- ]
1113
- },
1114
- "techRecord_vehicleType": {
1115
- "const": "hgv"
1116
- },
1117
- "primaryVrm": {
1118
- "type": "string"
1119
- },
1120
- "vin": {
1121
- "type": "string"
1122
- }
1123
- }
1124
- }
1
+ {
2
+ "title": "GET HGV Technical Record V3 Skeleton",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "createdTimestamp",
7
+ "partialVin",
8
+ "systemNumber",
9
+ "techRecord_createdAt",
10
+ "techRecord_createdById",
11
+ "techRecord_createdByName",
12
+ "techRecord_reasonForCreation",
13
+ "techRecord_recordCompleteness",
14
+ "techRecord_statusCode",
15
+ "techRecord_vehicleType",
16
+ "primaryVrm",
17
+ "vin"
18
+ ],
19
+ "properties": {
20
+ "createdTimestamp": {
21
+ "type": "string"
22
+ },
23
+ "partialVin": {
24
+ "type": "string"
25
+ },
26
+ "systemNumber": {
27
+ "type": "string"
28
+ },
29
+ "techRecord_adrDetails_vehicleDetails_type": {
30
+ "type": [
31
+ "string",
32
+ "null"
33
+ ]
34
+ },
35
+ "techRecord_adrDetails_vehicleDetails_approvalDate": {
36
+ "type": [
37
+ "string",
38
+ "null"
39
+ ]
40
+ },
41
+ "techRecord_adrDetails_permittedDangerousGoods": {
42
+ "type": [
43
+ "array",
44
+ "null"
45
+ ],
46
+ "items": {
47
+ "type": "string"
48
+ }
49
+ },
50
+ "techRecord_adrDetails_compatibilityGroupJ": {
51
+ "type": [
52
+ "boolean",
53
+ "null"
54
+ ]
55
+ },
56
+ "techRecord_adrDetails_additionalExaminerNotes": {
57
+ "type": [
58
+ "string",
59
+ "null"
60
+ ],
61
+ "maxLength": 1024
62
+ },
63
+ "techRecord_adrDetails_applicantDetails_name": {
64
+ "type": [
65
+ "string",
66
+ "null"
67
+ ],
68
+ "maxLength": 150
69
+ },
70
+ "techRecord_adrDetails_applicantDetails_street": {
71
+ "type": [
72
+ "string",
73
+ "null"
74
+ ],
75
+ "maxLength": 150
76
+ },
77
+ "techRecord_adrDetails_applicantDetails_town": {
78
+ "type": [
79
+ "string",
80
+ "null"
81
+ ],
82
+ "maxLength": 100
83
+ },
84
+ "techRecord_adrDetails_applicantDetails_city": {
85
+ "type": [
86
+ "string",
87
+ "null"
88
+ ],
89
+ "maxLength": 100
90
+ },
91
+ "techRecord_adrDetails_applicantDetails_postcode": {
92
+ "type": [
93
+ "string",
94
+ "null"
95
+ ],
96
+ "maxLength": 25
97
+ },
98
+ "techRecord_adrDetails_memosApply": {
99
+ "type": [
100
+ "array",
101
+ "null"
102
+ ],
103
+ "items": {
104
+ "type": [
105
+ "string"
106
+ ]
107
+ }
108
+ },
109
+ "techRecord_adrDetails_documents": {
110
+ "type": [
111
+ "array",
112
+ "null"
113
+ ],
114
+ "items": {
115
+ "type": [
116
+ "string"
117
+ ]
118
+ }
119
+ },
120
+ "techRecord_adrDetails_listStatementApplicable": {
121
+ "type": [
122
+ "boolean",
123
+ "null"
124
+ ]
125
+ },
126
+ "techRecord_adrDetails_batteryListNumber": {
127
+ "type": [
128
+ "string",
129
+ "null"
130
+ ],
131
+ "maxLength": 8
132
+ },
133
+ "techRecord_adrDetails_brakeDeclarationsSeen": {
134
+ "type": [
135
+ "boolean",
136
+ "null"
137
+ ]
138
+ },
139
+ "techRecord_adrDetails_brakeDeclarationIssuer": {
140
+ "type": [
141
+ "string",
142
+ "null"
143
+ ]
144
+ },
145
+ "techRecord_adrDetails_brakeEndurance": {
146
+ "type": [
147
+ "boolean",
148
+ "null"
149
+ ]
150
+ },
151
+ "techRecord_adrDetails_weight": {
152
+ "type": [
153
+ "string",
154
+ "null"
155
+ ],
156
+ "maxLength": 8
157
+ },
158
+ "techRecord_adrDetails_declarationsSeen": {
159
+ "type": [
160
+ "boolean",
161
+ "null"
162
+ ]
163
+ },
164
+ "techRecord_adrDetails_additionalNotes_guidanceNotes": {
165
+ "type": [
166
+ "array",
167
+ "null"
168
+ ],
169
+ "items": {
170
+ "type": "string"
171
+ }
172
+ },
173
+ "techRecord_adrDetails_additionalNotes_number": {
174
+ "type": [
175
+ "array",
176
+ "null"
177
+ ],
178
+ "items": {
179
+ "type": "string"
180
+ }
181
+ },
182
+ "techRecord_adrDetails_adrTypeApprovalNo": {
183
+ "type": [
184
+ "string",
185
+ "null"
186
+ ]
187
+ },
188
+ "techRecord_adrDetails_adrCertificateNotes": {
189
+ "type": [
190
+ "string",
191
+ "null"
192
+ ],
193
+ "maxLength": 1500
194
+ },
195
+ "techRecord_adrDetails_tank_tankDetails_tankManufacturer": {
196
+ "type": [
197
+ "string",
198
+ "null"
199
+ ],
200
+ "maxLength": 70
201
+ },
202
+ "techRecord_adrDetails_tank_tankDetails_yearOfManufacture": {
203
+ "type": [
204
+ "integer",
205
+ "null"
206
+ ],
207
+ "maximum": 9999
208
+ },
209
+ "techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo": {
210
+ "type": [
211
+ "string",
212
+ "null"
213
+ ],
214
+ "maxLength": 50
215
+ },
216
+ "techRecord_adrDetails_tank_tankDetails_tankTypeAppNo": {
217
+ "type": [
218
+ "string",
219
+ "null"
220
+ ],
221
+ "maxLength": 30
222
+ },
223
+ "techRecord_adrDetails_tank_tankDetails_tankCode": {
224
+ "type": [
225
+ "string",
226
+ "null"
227
+ ],
228
+ "maxLength": 30
229
+ },
230
+ "techRecord_adrDetails_tank_tankDetails_specialProvisions": {
231
+ "type": [
232
+ "string",
233
+ "null"
234
+ ],
235
+ "maxLength": 1024
236
+ },
237
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type": {
238
+ "anyOf": [
239
+ {
240
+ "type": "null"
241
+ },
242
+ {
243
+ "title": "TC2 Types",
244
+ "type": "string",
245
+ "enum": [
246
+ "initial"
247
+ ]
248
+ }
249
+ ]
250
+ },
251
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo": {
252
+ "type": [
253
+ "string",
254
+ "null"
255
+ ],
256
+ "maxLength": 70
257
+ },
258
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate": {
259
+ "type": [
260
+ "string",
261
+ "null"
262
+ ]
263
+ },
264
+ "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
265
+ "anyOf": [
266
+ {
267
+ "type": "null"
268
+ },
269
+ {
270
+ "title": "TC3 Types",
271
+ "type": "string",
272
+ "enum": [
273
+ "intermediate",
274
+ "periodic",
275
+ "exceptional"
276
+ ]
277
+ }
278
+ ]
279
+ },
280
+ "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
281
+ "type": [
282
+ "string",
283
+ "null"
284
+ ],
285
+ "maxLength": 75
286
+ },
287
+ "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
288
+ "type": [
289
+ "string",
290
+ "null"
291
+ ]
292
+ },
293
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
294
+ "type": [
295
+ "string",
296
+ "null"
297
+ ]
298
+ },
299
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
300
+ "type": [
301
+ "string",
302
+ "null"
303
+ ],
304
+ "maxLength": 1500
305
+ },
306
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo": {
307
+ "type": [
308
+ "string",
309
+ "null"
310
+ ]
311
+ },
312
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo": {
313
+ "type": [
314
+ "array",
315
+ "null"
316
+ ],
317
+ "items": {
318
+ "type": [
319
+ "string"
320
+ ]
321
+ }
322
+ },
323
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productList": {
324
+ "type": [
325
+ "string",
326
+ "null"
327
+ ],
328
+ "maxLength": 1500
329
+ },
330
+ "techRecord_alterationMarker": {
331
+ "type": [
332
+ "boolean",
333
+ "null"
334
+ ]
335
+ },
336
+ "techRecord_applicantDetails_name": {
337
+ "type": [
338
+ "string",
339
+ "null"
340
+ ],
341
+ "maxLength": 150
342
+ },
343
+ "techRecord_applicantDetails_address1": {
344
+ "type": [
345
+ "null",
346
+ "string"
347
+ ],
348
+ "maxLength": 60
349
+ },
350
+ "techRecord_applicantDetails_address2": {
351
+ "type": [
352
+ "null",
353
+ "string"
354
+ ],
355
+ "maxLength": 60
356
+ },
357
+ "techRecord_applicantDetails_postTown": {
358
+ "type": [
359
+ "null",
360
+ "string"
361
+ ],
362
+ "maxLength": 60
363
+ },
364
+ "techRecord_applicantDetails_address3": {
365
+ "type": [
366
+ "null",
367
+ "string"
368
+ ],
369
+ "maxLength": 60
370
+ },
371
+ "techRecord_applicantDetails_postCode": {
372
+ "type": [
373
+ "null",
374
+ "string"
375
+ ],
376
+ "maxLength": 12
377
+ },
378
+ "techRecord_applicantDetails_telephoneNumber": {
379
+ "type": [
380
+ "null",
381
+ "string"
382
+ ],
383
+ "maxLength": 25
384
+ },
385
+ "techRecord_applicantDetails_emailAddress": {
386
+ "type": [
387
+ "null",
388
+ "string"
389
+ ],
390
+ "maxLength": 255
391
+ },
392
+ "techRecord_applicationId": {
393
+ "type": [
394
+ "string",
395
+ "null"
396
+ ]
397
+ },
398
+ "axles": {
399
+ "type": "array",
400
+ "items": {
401
+ "type": "object",
402
+ "title": "HGV Axles",
403
+ "additionalProperties": false,
404
+ "properties": {
405
+ "techRecord_parkingBrakeMrk": {
406
+ "type": [
407
+ "boolean",
408
+ "null"
409
+ ]
410
+ },
411
+ "techRecord_axleNumber": {
412
+ "type": [
413
+ "integer",
414
+ "null"
415
+ ]
416
+ },
417
+ "techRecord_weights_gbWeight": {
418
+ "type": [
419
+ "integer",
420
+ "null"
421
+ ],
422
+ "minimum": 0,
423
+ "maximum": 99999
424
+ },
425
+ "techRecord_weights_designWeight": {
426
+ "type": [
427
+ "integer",
428
+ "null"
429
+ ],
430
+ "minimum": 0,
431
+ "maximum": 99999
432
+ },
433
+ "techRecord_weights_eecWeight": {
434
+ "type": [
435
+ "integer",
436
+ "null"
437
+ ],
438
+ "minimum": 0,
439
+ "maximum": 99999
440
+ },
441
+ "techRecord_tyres_tyreCode": {
442
+ "type": [
443
+ "integer",
444
+ "null"
445
+ ],
446
+ "minimum": 0,
447
+ "maximum": 99999
448
+ },
449
+ "techRecord_tyres_tyreSize": {
450
+ "type": [
451
+ "string",
452
+ "null"
453
+ ],
454
+ "maxLength": 12
455
+ },
456
+ "techRecord_tyres_plyRating": {
457
+ "type": [
458
+ "string",
459
+ "null"
460
+ ]
461
+ },
462
+ "techRecord_tyres_fitmentCode": {
463
+ "anyOf": [
464
+ {
465
+ "type": "null"
466
+ },
467
+ {
468
+ "title": "Fitment Code",
469
+ "type": "string",
470
+ "enum": [
471
+ "single",
472
+ "double"
473
+ ]
474
+ }
475
+ ]
476
+ },
477
+ "techRecord_tyres_dataTrAxles": {
478
+ "type": [
479
+ "null",
480
+ "integer"
481
+ ],
482
+ "minimum": 0,
483
+ "maximum": 999
484
+ }
485
+ }
486
+ }
487
+ },
488
+ "techRecord_bodyType_code": {
489
+ "type": "string"
490
+ },
491
+ "techRecord_bodyType_description": {
492
+ "type": "string"
493
+ },
494
+ "techRecord_brakes_antilockBrakingSystem": {
495
+ "type": [
496
+ "string",
497
+ "null"
498
+ ]
499
+ },
500
+ "techRecord_brakes_dtpNumber": {
501
+ "type": [
502
+ "string",
503
+ "null"
504
+ ],
505
+ "maxLength": 6
506
+ },
507
+ "techRecord_brakes_loadSensingValve": {
508
+ "type": [
509
+ "boolean",
510
+ "null"
511
+ ]
512
+ },
513
+ "techRecord_conversionRefNo": {
514
+ "type": [
515
+ "string",
516
+ "null"
517
+ ],
518
+ "maxLength": 10
519
+ },
520
+ "techRecord_createdAt": {
521
+ "type": "string"
522
+ },
523
+ "techRecord_createdById": {
524
+ "type": "string"
525
+ },
526
+ "techRecord_createdByName": {
527
+ "type": "string"
528
+ },
529
+ "techRecord_departmentalVehicleMarker": {
530
+ "type": [
531
+ "boolean",
532
+ "null"
533
+ ]
534
+ },
535
+ "techRecord_dimensions_axleSpacing_axles": {
536
+ "type": "string"
537
+ },
538
+ "techRecord_dimensions_axleSpacing_value": {
539
+ "type": [
540
+ "integer",
541
+ "null"
542
+ ],
543
+ "maximum": 99999,
544
+ "minimum": 0
545
+ },
546
+ "techRecord_dimensions_length": {
547
+ "type": [
548
+ "integer",
549
+ "null"
550
+ ],
551
+ "maximum": 99999,
552
+ "minimum": 0
553
+ },
554
+ "techRecord_dimensions_width": {
555
+ "type": [
556
+ "integer",
557
+ "null"
558
+ ],
559
+ "maximum": 99999,
560
+ "minimum": 0
561
+ },
562
+ "techRecord_drawbarCouplingFitted": {
563
+ "type": [
564
+ "boolean",
565
+ "null"
566
+ ]
567
+ },
568
+ "techRecord_emissionsLimit": {
569
+ "type": [
570
+ "null",
571
+ "integer"
572
+ ],
573
+ "minimum": 0,
574
+ "maximum": 99
575
+ },
576
+ "techRecord_euroStandard": {
577
+ "type": [
578
+ "string",
579
+ "null"
580
+ ]
581
+ },
582
+ "techRecord_euVehicleCategory": {
583
+ "anyOf": [
584
+ {
585
+ "title": "EU vehicle category",
586
+ "type": "string",
587
+ "enum": [
588
+ "m1",
589
+ "m2",
590
+ "m3",
591
+ "n1",
592
+ "n2",
593
+ "n3",
594
+ "o1",
595
+ "o2",
596
+ "o3",
597
+ "o4",
598
+ "l1e-a",
599
+ "l1e",
600
+ "l2e",
601
+ "l3e",
602
+ "l4e",
603
+ "l5e",
604
+ "l6e",
605
+ "l7e"
606
+ ]
607
+ },
608
+ {
609
+ "type": "null"
610
+ }
611
+ ]
612
+ },
613
+ "techRecord_frontAxleToRearAxle": {
614
+ "type": [
615
+ "integer",
616
+ "null"
617
+ ],
618
+ "maximum": 99999,
619
+ "minimum": 0
620
+ },
621
+ "techRecord_frontAxleTo5thWheelMin": {
622
+ "type": [
623
+ "integer",
624
+ "null"
625
+ ],
626
+ "maximum": 99999,
627
+ "minimum": 0
628
+ },
629
+ "techRecord_frontAxleTo5thWheelMax": {
630
+ "type": [
631
+ "integer",
632
+ "null"
633
+ ],
634
+ "maximum": 99999,
635
+ "minimum": 0
636
+ },
637
+ "techRecord_frontVehicleTo5thWheelCouplingMin": {
638
+ "type": [
639
+ "integer",
640
+ "null"
641
+ ],
642
+ "maximum": 99999,
643
+ "minimum": 0
644
+ },
645
+ "techRecord_frontVehicleTo5thWheelCouplingMax": {
646
+ "type": [
647
+ "integer",
648
+ "null"
649
+ ],
650
+ "maximum": 99999,
651
+ "minimum": 0
652
+ },
653
+ "techRecord_fuelPropulsionSystem": {
654
+ "anyOf": [
655
+ {
656
+ "title": "Fuel Propulsion System",
657
+ "type": "string",
658
+ "enum": [
659
+ "DieselPetrol",
660
+ "Diesel",
661
+ "Petrol",
662
+ "Hybrid",
663
+ "Electric",
664
+ "CNG",
665
+ "Fuel cell",
666
+ "LNG",
667
+ "Other"
668
+ ]
669
+ },
670
+ {
671
+ "type": "null"
672
+ }
673
+ ]
674
+ },
675
+ "techRecord_functionCode": {
676
+ "type": [
677
+ "string",
678
+ "null"
679
+ ],
680
+ "maxLength": 1
681
+ },
682
+ "techRecord_grossDesignWeight": {
683
+ "type": [
684
+ "integer",
685
+ "null"
686
+ ],
687
+ "maximum": 99999,
688
+ "minimum": 0
689
+ },
690
+ "techRecord_grossEecWeight": {
691
+ "type": [
692
+ "integer",
693
+ "null"
694
+ ],
695
+ "maximum": 99999,
696
+ "minimum": 0
697
+ },
698
+ "techRecord_grossGbWeight": {
699
+ "type": [
700
+ "integer",
701
+ "null"
702
+ ],
703
+ "maximum": 99999,
704
+ "minimum": 0
705
+ },
706
+ "techRecord_make": {
707
+ "type": [
708
+ "string",
709
+ "null"
710
+ ],
711
+ "maxLength": 30
712
+ },
713
+ "techRecord_maxTrainGbWeight": {
714
+ "type": [
715
+ "number",
716
+ "null"
717
+ ],
718
+ "maximum": 99999,
719
+ "minimum": 0
720
+ },
721
+ "techRecord_maxTrainEecWeight": {
722
+ "type": [
723
+ "number",
724
+ "null"
725
+ ],
726
+ "maximum": 99999,
727
+ "minimum": 0
728
+ },
729
+ "techRecord_maxTrainDesignWeight": {
730
+ "type": [
731
+ "number",
732
+ "null"
733
+ ],
734
+ "maximum": 99999,
735
+ "minimum": 0
736
+ },
737
+ "techRecord_manufactureYear": {
738
+ "anyOf": [
739
+ {
740
+ "type": "integer",
741
+ "minimum": 0,
742
+ "maximum": 9999
743
+ },
744
+ {
745
+ "type": "null"
746
+ }
747
+ ]
748
+ },
749
+ "techRecord_microfilm_microfilmDocumentType": {
750
+ "anyOf": [
751
+ {
752
+ "type": "null"
753
+ },
754
+ {
755
+ "title": "Microfilm Document Types",
756
+ "type": "string",
757
+ "enum": [
758
+ "PSV Miscellaneous",
759
+ "AAT - Trailer Annual Test",
760
+ "AIV - HGV International App",
761
+ "COIF Modification",
762
+ "Trailer COC + Int Plate",
763
+ "RCT - Trailer Test Cert paid",
764
+ "HGV COC + Int Plate",
765
+ "PSV Carry/Auth",
766
+ "OMO Report",
767
+ "AIT - Trailer International App",
768
+ "IPV - HGV EEC Plate/Cert",
769
+ "XCV - HGV Test Cert free",
770
+ "AAV - HGV Annual Test",
771
+ "COIF Master",
772
+ "Tempo 100 Sp Ord",
773
+ "Deleted",
774
+ "PSV N/ALT",
775
+ "XPT - Tr Plating Cert paid",
776
+ "FFV - HGV First Test",
777
+ "Repl Vitesse 100",
778
+ "TCV - HGV Test Cert",
779
+ "ZZZ - Miscellaneous",
780
+ "Test Certificate",
781
+ "XCT - Trailer Test Cert free",
782
+ "C52 - COC and VTG52A",
783
+ "Tempo 100 Report",
784
+ "Main File Amendment",
785
+ "PSV Doc",
786
+ "PSV COC",
787
+ "PSV Repl COC",
788
+ "TAV - COC",
789
+ "NPT - Trailer Alteration",
790
+ "OMO Certificate",
791
+ "PSV Repl COIF",
792
+ "PSV Repl COF",
793
+ "COIF Application",
794
+ "XPV - HGV Plating Cert Free",
795
+ "TCT - Trailer Test Cert",
796
+ "Tempo 100 App",
797
+ "PSV Decision on N/ALT",
798
+ "Special Order PSV",
799
+ "NPV - HGV Alteration",
800
+ "No Description Found",
801
+ "Vitesse 100 Sp Ord",
802
+ "Brake Test Details",
803
+ "COIF Productional",
804
+ "RDT - Test Disc Paid",
805
+ "RCV - HGV Test Cert",
806
+ "FFT - Trailer First Test",
807
+ "IPT - Trailer EEC Plate/Cert",
808
+ "XDT - Test Disc Free",
809
+ "PRV - HGV Plating Cert paid",
810
+ "COF Cert",
811
+ "PRT - Tr Plating Cert paid",
812
+ "Tempo 100 Permit"
813
+ ]
814
+ }
815
+ ]
816
+ },
817
+ "techRecord_microfilm_microfilmRollNumber": {
818
+ "type": [
819
+ "string",
820
+ "null"
821
+ ],
822
+ "maxLength": 5
823
+ },
824
+ "techRecord_microfilm_microfilmSerialNumber": {
825
+ "type": [
826
+ "string",
827
+ "null"
828
+ ],
829
+ "maxLength": 4
830
+ },
831
+ "techRecord_model": {
832
+ "type": [
833
+ "string",
834
+ "null"
835
+ ],
836
+ "maxLength": 30
837
+ },
838
+ "techRecord_numberOfWheelsDriven": {
839
+ "type": [
840
+ "integer",
841
+ "null"
842
+ ]
843
+ },
844
+ "techRecord_noOfAxles": {
845
+ "anyOf": [
846
+ {
847
+ "type": "integer",
848
+ "minimum": 0,
849
+ "maximum": 99
850
+ },
851
+ {
852
+ "type": "null"
853
+ }
854
+ ]
855
+ },
856
+ "techRecord_notes": {
857
+ "type": [
858
+ "string",
859
+ "null"
860
+ ]
861
+ },
862
+ "techRecord_offRoad": {
863
+ "type": [
864
+ "boolean",
865
+ "null"
866
+ ]
867
+ },
868
+ "plates": {
869
+ "type": "array",
870
+ "items": {
871
+ "type": "object",
872
+ "title": "HGV Plates",
873
+ "additionalProperties": false,
874
+ "properties": {
875
+ "techRecord_plateSerialNumber": {
876
+ "type": [
877
+ "string",
878
+ "null"
879
+ ],
880
+ "maxLength": 12
881
+ },
882
+ "techRecord_plateIssueDate": {
883
+ "type": [
884
+ "string",
885
+ "null"
886
+ ]
887
+ },
888
+ "techRecord_reasonForIssue": {
889
+ "anyOf": [
890
+ {
891
+ "type": "null"
892
+ },
893
+ {
894
+ "title": "Plate Reason For Issue",
895
+ "type": "string",
896
+ "enum": [
897
+ "Free replacement",
898
+ "Replacement",
899
+ "Destroyed",
900
+ "Provisional",
901
+ "Original",
902
+ "Manual"
903
+ ]
904
+ }
905
+ ]
906
+ },
907
+ "techRecord_plateIssuer": {
908
+ "type": [
909
+ "string",
910
+ "null"
911
+ ],
912
+ "maxLength": 150
913
+ }
914
+ }
915
+ }
916
+ },
917
+ "techRecord_reasonForCreation": {
918
+ "type": "string"
919
+ },
920
+ "techRecord_recordCompleteness": {
921
+ "const": "skeleton"
922
+ },
923
+ "techRecord_regnDate": {
924
+ "anyOf": [
925
+ {
926
+ "type": "string",
927
+ "pattern": "^$"
928
+ },
929
+ {
930
+ "type": "string",
931
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
932
+ },
933
+ {
934
+ "type": "null"
935
+ }
936
+ ]
937
+ },
938
+ "techRecord_roadFriendly": {
939
+ "type": [
940
+ "boolean",
941
+ "null"
942
+ ]
943
+ },
944
+ "techRecord_statusCode": {
945
+ "title": "Status Code",
946
+ "type": "string",
947
+ "enum": [
948
+ "provisional",
949
+ "current",
950
+ "archived"
951
+ ]
952
+ },
953
+ "techRecord_speedLimiterMrk": {
954
+ "type": [
955
+ "boolean",
956
+ "null"
957
+ ]
958
+ },
959
+ "techRecord_tachoExemptMrk": {
960
+ "type": [
961
+ "boolean",
962
+ "null"
963
+ ]
964
+ },
965
+ "techRecord_trainDesignWeight": {
966
+ "type": [
967
+ "integer",
968
+ "null"
969
+ ],
970
+ "minimum": 0,
971
+ "maximum": 99999
972
+ },
973
+ "techRecord_trainEecWeight": {
974
+ "type": [
975
+ "number",
976
+ "null"
977
+ ],
978
+ "maximum": 99999,
979
+ "minimum": 0
980
+ },
981
+ "techRecord_trainGbWeight": {
982
+ "type": [
983
+ "number",
984
+ "null"
985
+ ],
986
+ "maximum": 99999,
987
+ "minimum": 0
988
+ },
989
+ "techRecord_tyreUseCode": {
990
+ "type": [
991
+ "string",
992
+ "null"
993
+ ],
994
+ "maxLength": 2
995
+ },
996
+ "techRecord_vehicleClass_code": {
997
+ "type": "string"
998
+ },
999
+ "techRecord_vehicleClass_description": {
1000
+ "title": "Vehicle Class Description",
1001
+ "type": "string",
1002
+ "enum": [
1003
+ "motorbikes over 200cc or with a sidecar",
1004
+ "not applicable",
1005
+ "small psv (ie: less than or equal to 22 seats)",
1006
+ "motorbikes up to 200cc",
1007
+ "trailer",
1008
+ "large psv(ie: greater than 23 seats)",
1009
+ "3 wheelers",
1010
+ "heavy goods vehicle",
1011
+ "MOT class 4",
1012
+ "MOT class 7",
1013
+ "MOT class 5"
1014
+ ]
1015
+ },
1016
+ "techRecord_vehicleConfiguration": {
1017
+ "anyOf": [
1018
+ {
1019
+ "title": "Vehicle Configuration",
1020
+ "type": "string",
1021
+ "enum": [
1022
+ "rigid",
1023
+ "articulated",
1024
+ "centre axle drawbar",
1025
+ "semi-car transporter",
1026
+ "semi-trailer",
1027
+ "long semi-trailer",
1028
+ "low loader",
1029
+ "other",
1030
+ "drawbar",
1031
+ "four-in-line",
1032
+ "dolly",
1033
+ "full drawbar"
1034
+ ]
1035
+ },
1036
+ {
1037
+ "type": "null"
1038
+ }
1039
+ ]
1040
+ },
1041
+ "techRecord_approvalType": {
1042
+ "anyOf": [
1043
+ {
1044
+ "title": "Approval Type",
1045
+ "type": "string",
1046
+ "enum": [
1047
+ "NTA",
1048
+ "ECTA",
1049
+ "IVA",
1050
+ "NSSTA",
1051
+ "ECSSTA",
1052
+ "GB WVTA",
1053
+ "UKNI WVTA",
1054
+ "EU WVTA Pre 23",
1055
+ "EU WVTA 23 on",
1056
+ "QNIG",
1057
+ "Prov.GB WVTA",
1058
+ "Small series",
1059
+ "IVA - VCA",
1060
+ "IVA - DVSA/NI"
1061
+ ]
1062
+ },
1063
+ {
1064
+ "type": "null"
1065
+ }
1066
+ ]
1067
+ },
1068
+ "techRecord_approvalTypeNumber": {
1069
+ "type": [
1070
+ "string",
1071
+ "null"
1072
+ ],
1073
+ "maxLength": 25
1074
+ },
1075
+ "techRecord_ntaNumber": {
1076
+ "type": [
1077
+ "string",
1078
+ "null"
1079
+ ],
1080
+ "maxLength": 40
1081
+ },
1082
+ "techRecord_variantNumber": {
1083
+ "type": [
1084
+ "string",
1085
+ "null"
1086
+ ],
1087
+ "maxLength": 25
1088
+ },
1089
+ "techRecord_variantVersionNumber": {
1090
+ "type": [
1091
+ "string",
1092
+ "null"
1093
+ ],
1094
+ "maxLength": 35
1095
+ },
1096
+ "techRecord_lastUpdatedAt": {
1097
+ "type": [
1098
+ "string",
1099
+ "null"
1100
+ ]
1101
+ },
1102
+ "techRecord_lastUpdatedByName": {
1103
+ "type": [
1104
+ "string",
1105
+ "null"
1106
+ ]
1107
+ },
1108
+ "techRecord_lastUpdatedById": {
1109
+ "type": [
1110
+ "string",
1111
+ "null"
1112
+ ]
1113
+ },
1114
+ "techRecord_vehicleType": {
1115
+ "const": "hgv"
1116
+ },
1117
+ "primaryVrm": {
1118
+ "type": "string"
1119
+ },
1120
+ "vin": {
1121
+ "type": "string"
1122
+ }
1123
+ }
1124
+ }