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