@dvsa/cvs-type-definitions 6.3.0 → 7.0.0
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.
- package/json-schemas/v1/activity/index.json +53 -8
- package/json-schemas/v1/enums/activityType.enum.json +14 -0
- package/json-schemas/v1/enums/emissionStandard.enum.json +26 -0
- package/json-schemas/v1/enums/fuelType.enum.json +22 -0
- package/json-schemas/v1/enums/odometerReadingUnits.enum.json +12 -0
- package/json-schemas/v1/enums/sources.enum.json +12 -0
- package/json-schemas/v1/enums/testResult.enum.json +16 -0
- package/json-schemas/v1/enums/testStationType.enum.json +16 -0
- package/json-schemas/v1/enums/testStatus.enum.json +12 -0
- package/json-schemas/v1/enums/typeOfTest.enum.json +14 -0
- package/json-schemas/v1/enums/waitReason.enum.json +18 -0
- package/json-schemas/v1/test/index.json +631 -87
- package/json-schemas/v1/test-result/index.json +448 -53
- package/json-schemas/v1/test-type/index.json +183 -34
- package/json-schemas/v1/vehicle/index.json +631 -87
- package/json-schemas/v1/visit/index.json +631 -87
- package/json-schemas/v3/tech-record/get/hgv/complete/index.json +1 -2
- package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1 -2
- package/json-schemas/v3/tech-record/get/hgv/testable/index.json +1 -2
- package/json-schemas/v3/tech-record/get/trl/complete/index.json +1 -2
- package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1 -2
- package/json-schemas/v3/tech-record/get/trl/testable/index.json +1 -2
- package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1 -2
- package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1 -2
- package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1 -2
- package/json-schemas/v3/tech-record/put/trl/complete/index.json +1 -2
- package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +1 -2
- package/json-schemas/v3/tech-record/put/trl/testable/index.json +1 -2
- package/package.json +1 -1
- package/schemas.d.ts +1 -1
- package/schemas.js +10 -0
- package/types/v1/activity/index.d.ts +26 -6
- package/types/v1/enums/activityType.enum.d.ts +10 -0
- package/types/v1/enums/activityType.enum.js +15 -0
- package/types/v1/enums/activityType.enum.ts +12 -0
- package/types/v1/enums/emissionStandard.enum.d.ts +16 -0
- package/types/v1/enums/emissionStandard.enum.js +21 -0
- package/types/v1/enums/emissionStandard.enum.ts +18 -0
- package/types/v1/enums/fuelType.enum.d.ts +14 -0
- package/types/v1/enums/fuelType.enum.js +19 -0
- package/types/v1/enums/fuelType.enum.ts +16 -0
- package/types/v1/enums/odometerReadingUnits.enum.d.ts +9 -0
- package/types/v1/enums/odometerReadingUnits.enum.js +14 -0
- package/types/v1/enums/odometerReadingUnits.enum.ts +11 -0
- package/types/v1/enums/sources.enum.d.ts +9 -0
- package/types/v1/enums/sources.enum.js +14 -0
- package/types/v1/enums/sources.enum.ts +11 -0
- package/types/v1/enums/testResult.enum.d.ts +11 -0
- package/types/v1/enums/testResult.enum.js +16 -0
- package/types/v1/enums/testResult.enum.ts +13 -0
- package/types/v1/enums/testStationType.enum.d.ts +11 -0
- package/types/v1/enums/testStationType.enum.js +16 -0
- package/types/v1/enums/testStationType.enum.ts +13 -0
- package/types/v1/enums/testStatus.enum.d.ts +9 -0
- package/types/v1/enums/testStatus.enum.js +14 -0
- package/types/v1/enums/testStatus.enum.ts +11 -0
- package/types/v1/enums/typeOfTest.enum.d.ts +10 -0
- package/types/v1/enums/typeOfTest.enum.js +15 -0
- package/types/v1/enums/typeOfTest.enum.ts +12 -0
- package/types/v1/enums/waitReason.enum.d.ts +12 -0
- package/types/v1/enums/waitReason.enum.js +17 -0
- package/types/v1/enums/waitReason.enum.ts +14 -0
- package/types/v1/test/index.d.ts +143 -28
- package/types/v1/test-result/index.d.ts +143 -28
- package/types/v1/test-type/index.d.ts +65 -14
- package/types/v1/vehicle/index.d.ts +143 -28
- package/types/v1/visit/index.d.ts +143 -28
|
@@ -688,22 +688,56 @@
|
|
|
688
688
|
"type": "string"
|
|
689
689
|
},
|
|
690
690
|
"testStationName": {
|
|
691
|
-
"type":
|
|
691
|
+
"type": [
|
|
692
|
+
"string",
|
|
693
|
+
"null"
|
|
694
|
+
],
|
|
695
|
+
"maxLength": 999
|
|
692
696
|
},
|
|
693
697
|
"testStationPNumber": {
|
|
694
|
-
"type":
|
|
698
|
+
"type": [
|
|
699
|
+
"string",
|
|
700
|
+
"null"
|
|
701
|
+
],
|
|
702
|
+
"maxLength": 20
|
|
695
703
|
},
|
|
696
704
|
"testStationType": {
|
|
697
|
-
"
|
|
705
|
+
"anyOf": [
|
|
706
|
+
{
|
|
707
|
+
"title": "Test Station Types",
|
|
708
|
+
"type": "string",
|
|
709
|
+
"tsEnumNames": [
|
|
710
|
+
"ATF",
|
|
711
|
+
"GVTS",
|
|
712
|
+
"HQ",
|
|
713
|
+
"POTF"
|
|
714
|
+
],
|
|
715
|
+
"enum": [
|
|
716
|
+
"atf",
|
|
717
|
+
"gvts",
|
|
718
|
+
"hq",
|
|
719
|
+
"potf"
|
|
720
|
+
]
|
|
721
|
+
}
|
|
722
|
+
]
|
|
698
723
|
},
|
|
699
724
|
"testerName": {
|
|
700
|
-
"type":
|
|
725
|
+
"type": [
|
|
726
|
+
"string",
|
|
727
|
+
"null"
|
|
728
|
+
],
|
|
729
|
+
"maxLength": 60
|
|
701
730
|
},
|
|
702
731
|
"testerStaffId": {
|
|
703
|
-
"type": "string"
|
|
732
|
+
"type": "string",
|
|
733
|
+
"maxLength": 36
|
|
704
734
|
},
|
|
705
735
|
"testerEmailAddress": {
|
|
706
|
-
"type":
|
|
736
|
+
"type": [
|
|
737
|
+
"string",
|
|
738
|
+
"null"
|
|
739
|
+
],
|
|
740
|
+
"maxLength": 60
|
|
707
741
|
},
|
|
708
742
|
"testStartTimestamp": {
|
|
709
743
|
"type": "string"
|
|
@@ -712,7 +746,20 @@
|
|
|
712
746
|
"type": "string"
|
|
713
747
|
},
|
|
714
748
|
"testStatus": {
|
|
715
|
-
"
|
|
749
|
+
"anyOf": [
|
|
750
|
+
{
|
|
751
|
+
"title": "Test Status",
|
|
752
|
+
"type": "string",
|
|
753
|
+
"tsEnumNames": [
|
|
754
|
+
"SUBMITTED",
|
|
755
|
+
"CANCELLED"
|
|
756
|
+
],
|
|
757
|
+
"enum": [
|
|
758
|
+
"submitted",
|
|
759
|
+
"cancelled"
|
|
760
|
+
]
|
|
761
|
+
}
|
|
762
|
+
]
|
|
716
763
|
},
|
|
717
764
|
"reasonForCancellation": {
|
|
718
765
|
"type": [
|
|
@@ -724,13 +771,15 @@
|
|
|
724
771
|
"type": "string"
|
|
725
772
|
},
|
|
726
773
|
"vrm": {
|
|
727
|
-
"type": "string"
|
|
774
|
+
"type": "string",
|
|
775
|
+
"maxLength": 9
|
|
728
776
|
},
|
|
729
777
|
"trailerId": {
|
|
730
778
|
"type": "string"
|
|
731
779
|
},
|
|
732
780
|
"vin": {
|
|
733
|
-
"type": "string"
|
|
781
|
+
"type": "string",
|
|
782
|
+
"maxLength": 21
|
|
734
783
|
},
|
|
735
784
|
"vehicleClass": {
|
|
736
785
|
"title": "Vehicle Class Schema",
|
|
@@ -756,7 +805,20 @@
|
|
|
756
805
|
}
|
|
757
806
|
},
|
|
758
807
|
"vehicleType": {
|
|
759
|
-
"
|
|
808
|
+
"anyOf": [
|
|
809
|
+
{
|
|
810
|
+
"title": "Vehicle Type",
|
|
811
|
+
"type": "string",
|
|
812
|
+
"enum": [
|
|
813
|
+
"psv",
|
|
814
|
+
"trl",
|
|
815
|
+
"hgv",
|
|
816
|
+
"car",
|
|
817
|
+
"lgv",
|
|
818
|
+
"motorcycle"
|
|
819
|
+
]
|
|
820
|
+
}
|
|
821
|
+
]
|
|
760
822
|
},
|
|
761
823
|
"vehicleConfiguration": {
|
|
762
824
|
"type": "string"
|
|
@@ -768,19 +830,83 @@
|
|
|
768
830
|
]
|
|
769
831
|
},
|
|
770
832
|
"odometerReadingUnits": {
|
|
833
|
+
"anyOf": [
|
|
834
|
+
{
|
|
835
|
+
"title": "Odometer Reading Units",
|
|
836
|
+
"type": "string",
|
|
837
|
+
"tsEnumNames": [
|
|
838
|
+
"KILOMETRES",
|
|
839
|
+
"MILES"
|
|
840
|
+
],
|
|
841
|
+
"enum": [
|
|
842
|
+
"kilometres",
|
|
843
|
+
"miles"
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"type": "null"
|
|
848
|
+
}
|
|
849
|
+
]
|
|
850
|
+
},
|
|
851
|
+
"preparerId": {
|
|
771
852
|
"type": [
|
|
772
853
|
"string",
|
|
773
854
|
"null"
|
|
774
855
|
]
|
|
775
856
|
},
|
|
776
|
-
"preparerId": {
|
|
777
|
-
"type": "string"
|
|
778
|
-
},
|
|
779
857
|
"preparerName": {
|
|
780
|
-
"type":
|
|
858
|
+
"type": [
|
|
859
|
+
"string",
|
|
860
|
+
"null"
|
|
861
|
+
]
|
|
781
862
|
},
|
|
782
863
|
"euVehicleCategory": {
|
|
783
|
-
"
|
|
864
|
+
"anyOf": [
|
|
865
|
+
{
|
|
866
|
+
"title": "EU vehicle category",
|
|
867
|
+
"type": "string",
|
|
868
|
+
"tsEnumNames": [
|
|
869
|
+
"M1",
|
|
870
|
+
"M2",
|
|
871
|
+
"M3",
|
|
872
|
+
"N1",
|
|
873
|
+
"N2",
|
|
874
|
+
"N3",
|
|
875
|
+
"O1",
|
|
876
|
+
"O2",
|
|
877
|
+
"O3",
|
|
878
|
+
"O4",
|
|
879
|
+
"L1E_A",
|
|
880
|
+
"l1E",
|
|
881
|
+
"L2e",
|
|
882
|
+
"L3E",
|
|
883
|
+
"L4E",
|
|
884
|
+
"L5E",
|
|
885
|
+
"L6E",
|
|
886
|
+
"L7E"
|
|
887
|
+
],
|
|
888
|
+
"enum": [
|
|
889
|
+
"m1",
|
|
890
|
+
"m2",
|
|
891
|
+
"m3",
|
|
892
|
+
"n1",
|
|
893
|
+
"n2",
|
|
894
|
+
"n3",
|
|
895
|
+
"o1",
|
|
896
|
+
"o2",
|
|
897
|
+
"o3",
|
|
898
|
+
"o4",
|
|
899
|
+
"l1e-a",
|
|
900
|
+
"l1e",
|
|
901
|
+
"l2e",
|
|
902
|
+
"l3e",
|
|
903
|
+
"l4e",
|
|
904
|
+
"l5e",
|
|
905
|
+
"l6e",
|
|
906
|
+
"l7e"
|
|
907
|
+
]
|
|
908
|
+
}
|
|
909
|
+
]
|
|
784
910
|
},
|
|
785
911
|
"countryOfRegistration": {
|
|
786
912
|
"type": [
|
|
@@ -789,10 +915,14 @@
|
|
|
789
915
|
]
|
|
790
916
|
},
|
|
791
917
|
"noOfAxles": {
|
|
792
|
-
"type": "integer"
|
|
918
|
+
"type": "integer",
|
|
919
|
+
"maximum": 99
|
|
793
920
|
},
|
|
794
921
|
"numberOfWheelsDriven": {
|
|
795
|
-
"type":
|
|
922
|
+
"type": [
|
|
923
|
+
"integer",
|
|
924
|
+
"null"
|
|
925
|
+
]
|
|
796
926
|
},
|
|
797
927
|
"vehicleSize": {
|
|
798
928
|
"type": "string"
|
|
@@ -801,10 +931,16 @@
|
|
|
801
931
|
"type": "integer"
|
|
802
932
|
},
|
|
803
933
|
"regnDate": {
|
|
804
|
-
"type":
|
|
934
|
+
"type": [
|
|
935
|
+
"string",
|
|
936
|
+
"null"
|
|
937
|
+
]
|
|
805
938
|
},
|
|
806
939
|
"firstUseDate": {
|
|
807
|
-
"type":
|
|
940
|
+
"type": [
|
|
941
|
+
"string",
|
|
942
|
+
"null"
|
|
943
|
+
]
|
|
808
944
|
},
|
|
809
945
|
"testTypes": {
|
|
810
946
|
"type": "array",
|
|
@@ -813,7 +949,10 @@
|
|
|
813
949
|
"type": "object",
|
|
814
950
|
"properties": {
|
|
815
951
|
"testTypeName": {
|
|
816
|
-
"type":
|
|
952
|
+
"type": [
|
|
953
|
+
"string",
|
|
954
|
+
"null"
|
|
955
|
+
]
|
|
817
956
|
},
|
|
818
957
|
"name": {
|
|
819
958
|
"type": "string"
|
|
@@ -846,9 +985,26 @@
|
|
|
846
985
|
]
|
|
847
986
|
},
|
|
848
987
|
"testResult": {
|
|
849
|
-
"
|
|
850
|
-
|
|
851
|
-
|
|
988
|
+
"anyOf": [
|
|
989
|
+
{
|
|
990
|
+
"type:": "null"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"title": "Test Results",
|
|
994
|
+
"type": "string",
|
|
995
|
+
"tsEnumNames": [
|
|
996
|
+
"PASS",
|
|
997
|
+
"PRS",
|
|
998
|
+
"FAIL",
|
|
999
|
+
"ABANDONED"
|
|
1000
|
+
],
|
|
1001
|
+
"enum": [
|
|
1002
|
+
"pass",
|
|
1003
|
+
"prs",
|
|
1004
|
+
"fail",
|
|
1005
|
+
"abandoned"
|
|
1006
|
+
]
|
|
1007
|
+
}
|
|
852
1008
|
]
|
|
853
1009
|
},
|
|
854
1010
|
"prohibitionIssued": {
|
|
@@ -867,13 +1023,15 @@
|
|
|
867
1023
|
"type": [
|
|
868
1024
|
"string",
|
|
869
1025
|
"null"
|
|
870
|
-
]
|
|
1026
|
+
],
|
|
1027
|
+
"maxLength": 500
|
|
871
1028
|
},
|
|
872
1029
|
"additionalCommentsForAbandon": {
|
|
873
1030
|
"type": [
|
|
874
1031
|
"string",
|
|
875
1032
|
"null"
|
|
876
|
-
]
|
|
1033
|
+
],
|
|
1034
|
+
"maxLength": 500
|
|
877
1035
|
},
|
|
878
1036
|
"numberOfSeatbeltsFitted": {
|
|
879
1037
|
"type": [
|
|
@@ -896,6 +1054,12 @@
|
|
|
896
1054
|
"testExpiryDate": {
|
|
897
1055
|
"type": "string"
|
|
898
1056
|
},
|
|
1057
|
+
"testAnniversaryDate": {
|
|
1058
|
+
"type": [
|
|
1059
|
+
"string",
|
|
1060
|
+
"null"
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
899
1063
|
"modType": {
|
|
900
1064
|
"anyOf": [
|
|
901
1065
|
{
|
|
@@ -924,22 +1088,94 @@
|
|
|
924
1088
|
]
|
|
925
1089
|
},
|
|
926
1090
|
"emissionStandard": {
|
|
927
|
-
"
|
|
1091
|
+
"anyOf": [
|
|
1092
|
+
{
|
|
1093
|
+
"type:": "null"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"title": "Emission Standards",
|
|
1097
|
+
"type": "string",
|
|
1098
|
+
"tsEnumNames": [
|
|
1099
|
+
"EURO3_PM",
|
|
1100
|
+
"EURO4_PM",
|
|
1101
|
+
"EURO3",
|
|
1102
|
+
"EURO4",
|
|
1103
|
+
"EURO5",
|
|
1104
|
+
"EURO6",
|
|
1105
|
+
"EUROV",
|
|
1106
|
+
"EUROVI",
|
|
1107
|
+
"FULL_ELECTRIC"
|
|
1108
|
+
],
|
|
1109
|
+
"enum": [
|
|
1110
|
+
"0.10 g/kWh Euro 3 PM",
|
|
1111
|
+
"0.03 g/kWh Euro IV PM'",
|
|
1112
|
+
"Euro 3",
|
|
1113
|
+
"Euro 4",
|
|
1114
|
+
"Euro 5",
|
|
1115
|
+
"Euro 6",
|
|
1116
|
+
"Euro V",
|
|
1117
|
+
"Euro VI",
|
|
1118
|
+
"Full Electric"
|
|
1119
|
+
]
|
|
1120
|
+
}
|
|
1121
|
+
]
|
|
928
1122
|
},
|
|
929
1123
|
"fuelType": {
|
|
930
|
-
"
|
|
1124
|
+
"anyOf": [
|
|
1125
|
+
{
|
|
1126
|
+
"type:": "null"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"title": "Fuel Type",
|
|
1130
|
+
"type": "string",
|
|
1131
|
+
"tsEnumNames": [
|
|
1132
|
+
"DIESEL",
|
|
1133
|
+
"GAS_CNG",
|
|
1134
|
+
"GAS_LNG",
|
|
1135
|
+
"GAS_LPG",
|
|
1136
|
+
"PETROL",
|
|
1137
|
+
"FUEL_CELL",
|
|
1138
|
+
"FULL_ELECTRIC"
|
|
1139
|
+
],
|
|
1140
|
+
"enum": [
|
|
1141
|
+
"diesel",
|
|
1142
|
+
"gas-cng",
|
|
1143
|
+
"gas-lng",
|
|
1144
|
+
"gas-lpg",
|
|
1145
|
+
"petrol",
|
|
1146
|
+
"fuel cell",
|
|
1147
|
+
"full electric"
|
|
1148
|
+
]
|
|
1149
|
+
}
|
|
1150
|
+
]
|
|
931
1151
|
},
|
|
932
1152
|
"modificationTypeUsed": {
|
|
933
|
-
"type":
|
|
1153
|
+
"type": [
|
|
1154
|
+
"string",
|
|
1155
|
+
"null"
|
|
1156
|
+
],
|
|
1157
|
+
"maxLength": 100
|
|
934
1158
|
},
|
|
935
1159
|
"smokeTestKLimitApplied": {
|
|
936
|
-
"type":
|
|
1160
|
+
"type": [
|
|
1161
|
+
"string",
|
|
1162
|
+
"null"
|
|
1163
|
+
],
|
|
1164
|
+
"maxLength": 100
|
|
937
1165
|
},
|
|
938
1166
|
"particulateTrapFitted": {
|
|
939
|
-
"type":
|
|
1167
|
+
"type": [
|
|
1168
|
+
"string",
|
|
1169
|
+
"null"
|
|
1170
|
+
],
|
|
1171
|
+
"maxLength": 100
|
|
940
1172
|
},
|
|
941
1173
|
"particulateTrapSerialNumber": {
|
|
942
|
-
"type":
|
|
1174
|
+
"type": [
|
|
1175
|
+
"string",
|
|
1176
|
+
"null"
|
|
1177
|
+
],
|
|
1178
|
+
"maxLength": 100
|
|
943
1179
|
},
|
|
944
1180
|
"defects": {
|
|
945
1181
|
"type": [
|
|
@@ -1213,7 +1449,8 @@
|
|
|
1213
1449
|
},
|
|
1214
1450
|
"customDefects": {
|
|
1215
1451
|
"type": [
|
|
1216
|
-
"array"
|
|
1452
|
+
"array",
|
|
1453
|
+
"null"
|
|
1217
1454
|
],
|
|
1218
1455
|
"items": {
|
|
1219
1456
|
"title": "Specialist Custom Defects Schema",
|
|
@@ -1241,32 +1478,80 @@
|
|
|
1241
1478
|
]
|
|
1242
1479
|
}
|
|
1243
1480
|
},
|
|
1244
|
-
"
|
|
1245
|
-
"type":
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
"type": "string"
|
|
1249
|
-
},
|
|
1250
|
-
"reasons": {
|
|
1251
|
-
"type": "array",
|
|
1481
|
+
"requiredStandards": {
|
|
1482
|
+
"type": [
|
|
1483
|
+
"array"
|
|
1484
|
+
],
|
|
1252
1485
|
"items": {
|
|
1253
|
-
"
|
|
1486
|
+
"title": "Specialist Custom Defects Schema Put",
|
|
1487
|
+
"type": "object",
|
|
1488
|
+
"properties": {
|
|
1489
|
+
"sectionNumber": {
|
|
1490
|
+
"type": "string"
|
|
1491
|
+
},
|
|
1492
|
+
"sectionDescription": {
|
|
1493
|
+
"type": "string"
|
|
1494
|
+
},
|
|
1495
|
+
"additionalNotes": {
|
|
1496
|
+
"type": [
|
|
1497
|
+
"string",
|
|
1498
|
+
"null"
|
|
1499
|
+
]
|
|
1500
|
+
},
|
|
1501
|
+
"rsNumber": {
|
|
1502
|
+
"type": "integer"
|
|
1503
|
+
},
|
|
1504
|
+
"requiredStandard": {
|
|
1505
|
+
"type": "string"
|
|
1506
|
+
},
|
|
1507
|
+
"refCalculation": {
|
|
1508
|
+
"type": "string"
|
|
1509
|
+
},
|
|
1510
|
+
"additionalInfo": {
|
|
1511
|
+
"type": "boolean"
|
|
1512
|
+
},
|
|
1513
|
+
"inspectionTypes": {
|
|
1514
|
+
"type": "array",
|
|
1515
|
+
"items": {
|
|
1516
|
+
"anyOf": [
|
|
1517
|
+
{
|
|
1518
|
+
"title": "Inspection Type",
|
|
1519
|
+
"type": "string",
|
|
1520
|
+
"enum": [
|
|
1521
|
+
"basic",
|
|
1522
|
+
"normal"
|
|
1523
|
+
]
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
"prs": {
|
|
1529
|
+
"type": "boolean"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"additionalProperties": false,
|
|
1533
|
+
"required": [
|
|
1534
|
+
"sectionNumber",
|
|
1535
|
+
"sectionDescription",
|
|
1536
|
+
"rsNumber",
|
|
1537
|
+
"requiredStandard",
|
|
1538
|
+
"refCalculation",
|
|
1539
|
+
"additionalInfo",
|
|
1540
|
+
"referenceNumber",
|
|
1541
|
+
"prs"
|
|
1542
|
+
]
|
|
1254
1543
|
}
|
|
1255
1544
|
},
|
|
1256
1545
|
"testNumber": {
|
|
1257
|
-
"type":
|
|
1546
|
+
"type": [
|
|
1547
|
+
"string",
|
|
1548
|
+
"null"
|
|
1549
|
+
]
|
|
1258
1550
|
},
|
|
1259
|
-
"
|
|
1260
|
-
"
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
"items": {
|
|
1264
|
-
"type": "string"
|
|
1265
|
-
}
|
|
1266
|
-
},
|
|
1267
|
-
{
|
|
1268
|
-
"type": "null"
|
|
1269
|
-
}
|
|
1551
|
+
"reapplicationDate": {
|
|
1552
|
+
"type": [
|
|
1553
|
+
"string",
|
|
1554
|
+
"null"
|
|
1270
1555
|
]
|
|
1271
1556
|
}
|
|
1272
1557
|
},
|
|
@@ -1287,6 +1572,116 @@
|
|
|
1287
1572
|
],
|
|
1288
1573
|
"additionalProperties": false
|
|
1289
1574
|
}
|
|
1575
|
+
},
|
|
1576
|
+
"reasonForCreation": {
|
|
1577
|
+
"type": "string",
|
|
1578
|
+
"maxLength": 100
|
|
1579
|
+
},
|
|
1580
|
+
"createdAt": {
|
|
1581
|
+
"type": [
|
|
1582
|
+
"string",
|
|
1583
|
+
"null"
|
|
1584
|
+
]
|
|
1585
|
+
},
|
|
1586
|
+
"createdByEmailAddress": {
|
|
1587
|
+
"type": "string"
|
|
1588
|
+
},
|
|
1589
|
+
"createdByName": {
|
|
1590
|
+
"type": "string"
|
|
1591
|
+
},
|
|
1592
|
+
"createdById": {
|
|
1593
|
+
"type": "string"
|
|
1594
|
+
},
|
|
1595
|
+
"lastUpdatedAt": {
|
|
1596
|
+
"type": [
|
|
1597
|
+
"string",
|
|
1598
|
+
"null"
|
|
1599
|
+
]
|
|
1600
|
+
},
|
|
1601
|
+
"lastUpdatedByEmailAddress": {
|
|
1602
|
+
"type": "string"
|
|
1603
|
+
},
|
|
1604
|
+
"lastUpdatedByName": {
|
|
1605
|
+
"type": "string"
|
|
1606
|
+
},
|
|
1607
|
+
"lastUpdatedById": {
|
|
1608
|
+
"type": "string"
|
|
1609
|
+
},
|
|
1610
|
+
"shouldEmailCertificate": {
|
|
1611
|
+
"type": "string"
|
|
1612
|
+
},
|
|
1613
|
+
"contingencyTestNumber": {
|
|
1614
|
+
"type": [
|
|
1615
|
+
"string",
|
|
1616
|
+
"null"
|
|
1617
|
+
],
|
|
1618
|
+
"maxLength": 8,
|
|
1619
|
+
"minLength": 6
|
|
1620
|
+
},
|
|
1621
|
+
"typeOfTest": {
|
|
1622
|
+
"anyOf": [
|
|
1623
|
+
{
|
|
1624
|
+
"title": "Type of test",
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"tsEnumNames": [
|
|
1627
|
+
"CONTINGENCY",
|
|
1628
|
+
"DESK_BASED",
|
|
1629
|
+
"COMPLETION"
|
|
1630
|
+
],
|
|
1631
|
+
"enum": [
|
|
1632
|
+
"contingency",
|
|
1633
|
+
"desk-based",
|
|
1634
|
+
"completion"
|
|
1635
|
+
]
|
|
1636
|
+
}
|
|
1637
|
+
]
|
|
1638
|
+
},
|
|
1639
|
+
"source": {
|
|
1640
|
+
"anyOf": [
|
|
1641
|
+
{
|
|
1642
|
+
"title": "Test Sources",
|
|
1643
|
+
"type": "string",
|
|
1644
|
+
"tsEnumNames": [
|
|
1645
|
+
"VTM",
|
|
1646
|
+
"VTA"
|
|
1647
|
+
],
|
|
1648
|
+
"enum": [
|
|
1649
|
+
"vtm",
|
|
1650
|
+
"vta"
|
|
1651
|
+
]
|
|
1652
|
+
}
|
|
1653
|
+
]
|
|
1654
|
+
},
|
|
1655
|
+
"make": {
|
|
1656
|
+
"type": [
|
|
1657
|
+
"string",
|
|
1658
|
+
"null"
|
|
1659
|
+
]
|
|
1660
|
+
},
|
|
1661
|
+
"model": {
|
|
1662
|
+
"type": [
|
|
1663
|
+
"string",
|
|
1664
|
+
"null"
|
|
1665
|
+
]
|
|
1666
|
+
},
|
|
1667
|
+
"bodyType": {
|
|
1668
|
+
"title": "Body Type Schema",
|
|
1669
|
+
"type": "object",
|
|
1670
|
+
"properties": {
|
|
1671
|
+
"code": {
|
|
1672
|
+
"type": [
|
|
1673
|
+
"string",
|
|
1674
|
+
"null"
|
|
1675
|
+
]
|
|
1676
|
+
},
|
|
1677
|
+
"description": {
|
|
1678
|
+
"type": [
|
|
1679
|
+
"string",
|
|
1680
|
+
"null"
|
|
1681
|
+
]
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"additionalProperties": false
|
|
1290
1685
|
}
|
|
1291
1686
|
},
|
|
1292
1687
|
"additionalProperties": false,
|
|
@@ -1342,7 +1737,10 @@
|
|
|
1342
1737
|
"type": "object",
|
|
1343
1738
|
"properties": {
|
|
1344
1739
|
"testTypeName": {
|
|
1345
|
-
"type":
|
|
1740
|
+
"type": [
|
|
1741
|
+
"string",
|
|
1742
|
+
"null"
|
|
1743
|
+
]
|
|
1346
1744
|
},
|
|
1347
1745
|
"name": {
|
|
1348
1746
|
"type": "string"
|
|
@@ -1375,9 +1773,26 @@
|
|
|
1375
1773
|
]
|
|
1376
1774
|
},
|
|
1377
1775
|
"testResult": {
|
|
1378
|
-
"
|
|
1379
|
-
|
|
1380
|
-
|
|
1776
|
+
"anyOf": [
|
|
1777
|
+
{
|
|
1778
|
+
"type:": "null"
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"title": "Test Results",
|
|
1782
|
+
"type": "string",
|
|
1783
|
+
"tsEnumNames": [
|
|
1784
|
+
"PASS",
|
|
1785
|
+
"PRS",
|
|
1786
|
+
"FAIL",
|
|
1787
|
+
"ABANDONED"
|
|
1788
|
+
],
|
|
1789
|
+
"enum": [
|
|
1790
|
+
"pass",
|
|
1791
|
+
"prs",
|
|
1792
|
+
"fail",
|
|
1793
|
+
"abandoned"
|
|
1794
|
+
]
|
|
1795
|
+
}
|
|
1381
1796
|
]
|
|
1382
1797
|
},
|
|
1383
1798
|
"prohibitionIssued": {
|
|
@@ -1396,13 +1811,15 @@
|
|
|
1396
1811
|
"type": [
|
|
1397
1812
|
"string",
|
|
1398
1813
|
"null"
|
|
1399
|
-
]
|
|
1814
|
+
],
|
|
1815
|
+
"maxLength": 500
|
|
1400
1816
|
},
|
|
1401
1817
|
"additionalCommentsForAbandon": {
|
|
1402
1818
|
"type": [
|
|
1403
1819
|
"string",
|
|
1404
1820
|
"null"
|
|
1405
|
-
]
|
|
1821
|
+
],
|
|
1822
|
+
"maxLength": 500
|
|
1406
1823
|
},
|
|
1407
1824
|
"numberOfSeatbeltsFitted": {
|
|
1408
1825
|
"type": [
|
|
@@ -1425,6 +1842,12 @@
|
|
|
1425
1842
|
"testExpiryDate": {
|
|
1426
1843
|
"type": "string"
|
|
1427
1844
|
},
|
|
1845
|
+
"testAnniversaryDate": {
|
|
1846
|
+
"type": [
|
|
1847
|
+
"string",
|
|
1848
|
+
"null"
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1428
1851
|
"modType": {
|
|
1429
1852
|
"anyOf": [
|
|
1430
1853
|
{
|
|
@@ -1453,22 +1876,94 @@
|
|
|
1453
1876
|
]
|
|
1454
1877
|
},
|
|
1455
1878
|
"emissionStandard": {
|
|
1456
|
-
"
|
|
1879
|
+
"anyOf": [
|
|
1880
|
+
{
|
|
1881
|
+
"type:": "null"
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"title": "Emission Standards",
|
|
1885
|
+
"type": "string",
|
|
1886
|
+
"tsEnumNames": [
|
|
1887
|
+
"EURO3_PM",
|
|
1888
|
+
"EURO4_PM",
|
|
1889
|
+
"EURO3",
|
|
1890
|
+
"EURO4",
|
|
1891
|
+
"EURO5",
|
|
1892
|
+
"EURO6",
|
|
1893
|
+
"EUROV",
|
|
1894
|
+
"EUROVI",
|
|
1895
|
+
"FULL_ELECTRIC"
|
|
1896
|
+
],
|
|
1897
|
+
"enum": [
|
|
1898
|
+
"0.10 g/kWh Euro 3 PM",
|
|
1899
|
+
"0.03 g/kWh Euro IV PM'",
|
|
1900
|
+
"Euro 3",
|
|
1901
|
+
"Euro 4",
|
|
1902
|
+
"Euro 5",
|
|
1903
|
+
"Euro 6",
|
|
1904
|
+
"Euro V",
|
|
1905
|
+
"Euro VI",
|
|
1906
|
+
"Full Electric"
|
|
1907
|
+
]
|
|
1908
|
+
}
|
|
1909
|
+
]
|
|
1457
1910
|
},
|
|
1458
1911
|
"fuelType": {
|
|
1459
|
-
"
|
|
1912
|
+
"anyOf": [
|
|
1913
|
+
{
|
|
1914
|
+
"type:": "null"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"title": "Fuel Type",
|
|
1918
|
+
"type": "string",
|
|
1919
|
+
"tsEnumNames": [
|
|
1920
|
+
"DIESEL",
|
|
1921
|
+
"GAS_CNG",
|
|
1922
|
+
"GAS_LNG",
|
|
1923
|
+
"GAS_LPG",
|
|
1924
|
+
"PETROL",
|
|
1925
|
+
"FUEL_CELL",
|
|
1926
|
+
"FULL_ELECTRIC"
|
|
1927
|
+
],
|
|
1928
|
+
"enum": [
|
|
1929
|
+
"diesel",
|
|
1930
|
+
"gas-cng",
|
|
1931
|
+
"gas-lng",
|
|
1932
|
+
"gas-lpg",
|
|
1933
|
+
"petrol",
|
|
1934
|
+
"fuel cell",
|
|
1935
|
+
"full electric"
|
|
1936
|
+
]
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1460
1939
|
},
|
|
1461
1940
|
"modificationTypeUsed": {
|
|
1462
|
-
"type":
|
|
1941
|
+
"type": [
|
|
1942
|
+
"string",
|
|
1943
|
+
"null"
|
|
1944
|
+
],
|
|
1945
|
+
"maxLength": 100
|
|
1463
1946
|
},
|
|
1464
1947
|
"smokeTestKLimitApplied": {
|
|
1465
|
-
"type":
|
|
1948
|
+
"type": [
|
|
1949
|
+
"string",
|
|
1950
|
+
"null"
|
|
1951
|
+
],
|
|
1952
|
+
"maxLength": 100
|
|
1466
1953
|
},
|
|
1467
1954
|
"particulateTrapFitted": {
|
|
1468
|
-
"type":
|
|
1955
|
+
"type": [
|
|
1956
|
+
"string",
|
|
1957
|
+
"null"
|
|
1958
|
+
],
|
|
1959
|
+
"maxLength": 100
|
|
1469
1960
|
},
|
|
1470
1961
|
"particulateTrapSerialNumber": {
|
|
1471
|
-
"type":
|
|
1962
|
+
"type": [
|
|
1963
|
+
"string",
|
|
1964
|
+
"null"
|
|
1965
|
+
],
|
|
1966
|
+
"maxLength": 100
|
|
1472
1967
|
},
|
|
1473
1968
|
"defects": {
|
|
1474
1969
|
"type": [
|
|
@@ -1742,7 +2237,8 @@
|
|
|
1742
2237
|
},
|
|
1743
2238
|
"customDefects": {
|
|
1744
2239
|
"type": [
|
|
1745
|
-
"array"
|
|
2240
|
+
"array",
|
|
2241
|
+
"null"
|
|
1746
2242
|
],
|
|
1747
2243
|
"items": {
|
|
1748
2244
|
"title": "Specialist Custom Defects Schema",
|
|
@@ -1770,32 +2266,80 @@
|
|
|
1770
2266
|
]
|
|
1771
2267
|
}
|
|
1772
2268
|
},
|
|
1773
|
-
"
|
|
1774
|
-
"type":
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
"type": "string"
|
|
1778
|
-
},
|
|
1779
|
-
"reasons": {
|
|
1780
|
-
"type": "array",
|
|
2269
|
+
"requiredStandards": {
|
|
2270
|
+
"type": [
|
|
2271
|
+
"array"
|
|
2272
|
+
],
|
|
1781
2273
|
"items": {
|
|
1782
|
-
"
|
|
2274
|
+
"title": "Specialist Custom Defects Schema Put",
|
|
2275
|
+
"type": "object",
|
|
2276
|
+
"properties": {
|
|
2277
|
+
"sectionNumber": {
|
|
2278
|
+
"type": "string"
|
|
2279
|
+
},
|
|
2280
|
+
"sectionDescription": {
|
|
2281
|
+
"type": "string"
|
|
2282
|
+
},
|
|
2283
|
+
"additionalNotes": {
|
|
2284
|
+
"type": [
|
|
2285
|
+
"string",
|
|
2286
|
+
"null"
|
|
2287
|
+
]
|
|
2288
|
+
},
|
|
2289
|
+
"rsNumber": {
|
|
2290
|
+
"type": "integer"
|
|
2291
|
+
},
|
|
2292
|
+
"requiredStandard": {
|
|
2293
|
+
"type": "string"
|
|
2294
|
+
},
|
|
2295
|
+
"refCalculation": {
|
|
2296
|
+
"type": "string"
|
|
2297
|
+
},
|
|
2298
|
+
"additionalInfo": {
|
|
2299
|
+
"type": "boolean"
|
|
2300
|
+
},
|
|
2301
|
+
"inspectionTypes": {
|
|
2302
|
+
"type": "array",
|
|
2303
|
+
"items": {
|
|
2304
|
+
"anyOf": [
|
|
2305
|
+
{
|
|
2306
|
+
"title": "Inspection Type",
|
|
2307
|
+
"type": "string",
|
|
2308
|
+
"enum": [
|
|
2309
|
+
"basic",
|
|
2310
|
+
"normal"
|
|
2311
|
+
]
|
|
2312
|
+
}
|
|
2313
|
+
]
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
"prs": {
|
|
2317
|
+
"type": "boolean"
|
|
2318
|
+
}
|
|
2319
|
+
},
|
|
2320
|
+
"additionalProperties": false,
|
|
2321
|
+
"required": [
|
|
2322
|
+
"sectionNumber",
|
|
2323
|
+
"sectionDescription",
|
|
2324
|
+
"rsNumber",
|
|
2325
|
+
"requiredStandard",
|
|
2326
|
+
"refCalculation",
|
|
2327
|
+
"additionalInfo",
|
|
2328
|
+
"referenceNumber",
|
|
2329
|
+
"prs"
|
|
2330
|
+
]
|
|
1783
2331
|
}
|
|
1784
2332
|
},
|
|
1785
2333
|
"testNumber": {
|
|
1786
|
-
"type":
|
|
2334
|
+
"type": [
|
|
2335
|
+
"string",
|
|
2336
|
+
"null"
|
|
2337
|
+
]
|
|
1787
2338
|
},
|
|
1788
|
-
"
|
|
1789
|
-
"
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
"items": {
|
|
1793
|
-
"type": "string"
|
|
1794
|
-
}
|
|
1795
|
-
},
|
|
1796
|
-
{
|
|
1797
|
-
"type": "null"
|
|
1798
|
-
}
|
|
2339
|
+
"reapplicationDate": {
|
|
2340
|
+
"type": [
|
|
2341
|
+
"string",
|
|
2342
|
+
"null"
|
|
1799
2343
|
]
|
|
1800
2344
|
}
|
|
1801
2345
|
},
|