@dvsa/cvs-type-definitions 2.0.14 → 2.0.16

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