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