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