@dvsa/cvs-type-definitions 7.6.0 → 7.6.2
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/test/index.json +1 -1092
- package/json-schemas/v1/test-result/index.json +1 -1092
- package/json-schemas/v1/test-station/index.json +8 -1
- package/json-schemas/v1/vehicle/index.json +1 -1092
- package/json-schemas/v1/visit/index.json +1 -1092
- package/package.json +1 -1
- package/types/v1/test/index.d.ts +3 -0
- package/types/v1/test-result/index.d.ts +3 -0
- package/types/v1/test-station/index.d.ts +2 -0
- package/types/v1/vehicle/index.d.ts +3 -0
- package/types/v1/visit/index.d.ts +3 -0
|
@@ -680,1098 +680,7 @@
|
|
|
680
680
|
},
|
|
681
681
|
"testResultsHistory": {
|
|
682
682
|
"type": "array",
|
|
683
|
-
"items": {
|
|
684
|
-
"title": "Test Result Schema",
|
|
685
|
-
"type": "object",
|
|
686
|
-
"properties": {
|
|
687
|
-
"testResultId": {
|
|
688
|
-
"type": "string"
|
|
689
|
-
},
|
|
690
|
-
"testStationName": {
|
|
691
|
-
"type": [
|
|
692
|
-
"string",
|
|
693
|
-
"null"
|
|
694
|
-
],
|
|
695
|
-
"maxLength": 999
|
|
696
|
-
},
|
|
697
|
-
"testStationPNumber": {
|
|
698
|
-
"type": [
|
|
699
|
-
"string",
|
|
700
|
-
"null"
|
|
701
|
-
],
|
|
702
|
-
"maxLength": 20
|
|
703
|
-
},
|
|
704
|
-
"testStationType": {
|
|
705
|
-
"anyOf": [
|
|
706
|
-
{
|
|
707
|
-
"title": "Test Station Types",
|
|
708
|
-
"type": "string",
|
|
709
|
-
"tsEnumNames": [
|
|
710
|
-
"ATF",
|
|
711
|
-
"GVTS",
|
|
712
|
-
"HQ",
|
|
713
|
-
"POTF",
|
|
714
|
-
"VEF"
|
|
715
|
-
],
|
|
716
|
-
"enum": [
|
|
717
|
-
"atf",
|
|
718
|
-
"gvts",
|
|
719
|
-
"hq",
|
|
720
|
-
"potf",
|
|
721
|
-
"vef"
|
|
722
|
-
]
|
|
723
|
-
}
|
|
724
|
-
]
|
|
725
|
-
},
|
|
726
|
-
"testerName": {
|
|
727
|
-
"type": [
|
|
728
|
-
"string",
|
|
729
|
-
"null"
|
|
730
|
-
],
|
|
731
|
-
"maxLength": 60
|
|
732
|
-
},
|
|
733
|
-
"testerStaffId": {
|
|
734
|
-
"type": "string",
|
|
735
|
-
"maxLength": 36
|
|
736
|
-
},
|
|
737
|
-
"testerEmailAddress": {
|
|
738
|
-
"type": [
|
|
739
|
-
"string",
|
|
740
|
-
"null"
|
|
741
|
-
],
|
|
742
|
-
"maxLength": 60
|
|
743
|
-
},
|
|
744
|
-
"testStartTimestamp": {
|
|
745
|
-
"type": "string"
|
|
746
|
-
},
|
|
747
|
-
"testEndTimestamp": {
|
|
748
|
-
"type": "string"
|
|
749
|
-
},
|
|
750
|
-
"testStatus": {
|
|
751
|
-
"anyOf": [
|
|
752
|
-
{
|
|
753
|
-
"title": "Test Status",
|
|
754
|
-
"type": "string",
|
|
755
|
-
"tsEnumNames": [
|
|
756
|
-
"SUBMITTED",
|
|
757
|
-
"CANCELLED"
|
|
758
|
-
],
|
|
759
|
-
"enum": [
|
|
760
|
-
"submitted",
|
|
761
|
-
"cancelled"
|
|
762
|
-
]
|
|
763
|
-
}
|
|
764
|
-
]
|
|
765
|
-
},
|
|
766
|
-
"reasonForCancellation": {
|
|
767
|
-
"type": [
|
|
768
|
-
"string",
|
|
769
|
-
"null"
|
|
770
|
-
]
|
|
771
|
-
},
|
|
772
|
-
"systemNumber": {
|
|
773
|
-
"type": "string"
|
|
774
|
-
},
|
|
775
|
-
"vrm": {
|
|
776
|
-
"type": "string",
|
|
777
|
-
"maxLength": 9
|
|
778
|
-
},
|
|
779
|
-
"trailerId": {
|
|
780
|
-
"type": "string"
|
|
781
|
-
},
|
|
782
|
-
"vin": {
|
|
783
|
-
"type": "string",
|
|
784
|
-
"maxLength": 21
|
|
785
|
-
},
|
|
786
|
-
"vehicleClass": {
|
|
787
|
-
"title": "Vehicle Class Schema",
|
|
788
|
-
"type": "object",
|
|
789
|
-
"properties": {
|
|
790
|
-
"code": {
|
|
791
|
-
"type": "string"
|
|
792
|
-
},
|
|
793
|
-
"description": {
|
|
794
|
-
"type": "string"
|
|
795
|
-
}
|
|
796
|
-
},
|
|
797
|
-
"additionalProperties": false,
|
|
798
|
-
"required": [
|
|
799
|
-
"code",
|
|
800
|
-
"description"
|
|
801
|
-
]
|
|
802
|
-
},
|
|
803
|
-
"vehicleSubclass": {
|
|
804
|
-
"type": "array",
|
|
805
|
-
"items": {
|
|
806
|
-
"type": "string"
|
|
807
|
-
}
|
|
808
|
-
},
|
|
809
|
-
"vehicleType": {
|
|
810
|
-
"anyOf": [
|
|
811
|
-
{
|
|
812
|
-
"title": "Vehicle Type",
|
|
813
|
-
"type": "string",
|
|
814
|
-
"enum": [
|
|
815
|
-
"psv",
|
|
816
|
-
"trl",
|
|
817
|
-
"hgv",
|
|
818
|
-
"car",
|
|
819
|
-
"lgv",
|
|
820
|
-
"motorcycle"
|
|
821
|
-
]
|
|
822
|
-
}
|
|
823
|
-
]
|
|
824
|
-
},
|
|
825
|
-
"vehicleConfiguration": {
|
|
826
|
-
"type": "string"
|
|
827
|
-
},
|
|
828
|
-
"odometerReading": {
|
|
829
|
-
"type": [
|
|
830
|
-
"number",
|
|
831
|
-
"null"
|
|
832
|
-
]
|
|
833
|
-
},
|
|
834
|
-
"odometerReadingUnits": {
|
|
835
|
-
"anyOf": [
|
|
836
|
-
{
|
|
837
|
-
"title": "Odometer Reading Units",
|
|
838
|
-
"type": "string",
|
|
839
|
-
"tsEnumNames": [
|
|
840
|
-
"KILOMETRES",
|
|
841
|
-
"MILES"
|
|
842
|
-
],
|
|
843
|
-
"enum": [
|
|
844
|
-
"kilometres",
|
|
845
|
-
"miles"
|
|
846
|
-
]
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"type": "null"
|
|
850
|
-
}
|
|
851
|
-
]
|
|
852
|
-
},
|
|
853
|
-
"preparerId": {
|
|
854
|
-
"type": [
|
|
855
|
-
"string",
|
|
856
|
-
"null"
|
|
857
|
-
]
|
|
858
|
-
},
|
|
859
|
-
"preparerName": {
|
|
860
|
-
"type": [
|
|
861
|
-
"string",
|
|
862
|
-
"null"
|
|
863
|
-
]
|
|
864
|
-
},
|
|
865
|
-
"euVehicleCategory": {
|
|
866
|
-
"anyOf": [
|
|
867
|
-
{
|
|
868
|
-
"title": "EU vehicle category",
|
|
869
|
-
"type": "string",
|
|
870
|
-
"tsEnumNames": [
|
|
871
|
-
"M1",
|
|
872
|
-
"M2",
|
|
873
|
-
"M3",
|
|
874
|
-
"N1",
|
|
875
|
-
"N2",
|
|
876
|
-
"N3",
|
|
877
|
-
"O1",
|
|
878
|
-
"O2",
|
|
879
|
-
"O3",
|
|
880
|
-
"O4",
|
|
881
|
-
"L1E_A",
|
|
882
|
-
"l1E",
|
|
883
|
-
"L2e",
|
|
884
|
-
"L3E",
|
|
885
|
-
"L4E",
|
|
886
|
-
"L5E",
|
|
887
|
-
"L6E",
|
|
888
|
-
"L7E"
|
|
889
|
-
],
|
|
890
|
-
"enum": [
|
|
891
|
-
"m1",
|
|
892
|
-
"m2",
|
|
893
|
-
"m3",
|
|
894
|
-
"n1",
|
|
895
|
-
"n2",
|
|
896
|
-
"n3",
|
|
897
|
-
"o1",
|
|
898
|
-
"o2",
|
|
899
|
-
"o3",
|
|
900
|
-
"o4",
|
|
901
|
-
"l1e-a",
|
|
902
|
-
"l1e",
|
|
903
|
-
"l2e",
|
|
904
|
-
"l3e",
|
|
905
|
-
"l4e",
|
|
906
|
-
"l5e",
|
|
907
|
-
"l6e",
|
|
908
|
-
"l7e"
|
|
909
|
-
]
|
|
910
|
-
}
|
|
911
|
-
]
|
|
912
|
-
},
|
|
913
|
-
"countryOfRegistration": {
|
|
914
|
-
"type": [
|
|
915
|
-
"string",
|
|
916
|
-
"null"
|
|
917
|
-
]
|
|
918
|
-
},
|
|
919
|
-
"noOfAxles": {
|
|
920
|
-
"type": "integer",
|
|
921
|
-
"maximum": 99
|
|
922
|
-
},
|
|
923
|
-
"numberOfWheelsDriven": {
|
|
924
|
-
"type": [
|
|
925
|
-
"integer",
|
|
926
|
-
"null"
|
|
927
|
-
]
|
|
928
|
-
},
|
|
929
|
-
"vehicleSize": {
|
|
930
|
-
"type": "string"
|
|
931
|
-
},
|
|
932
|
-
"numberOfSeats": {
|
|
933
|
-
"type": "integer"
|
|
934
|
-
},
|
|
935
|
-
"regnDate": {
|
|
936
|
-
"type": [
|
|
937
|
-
"string",
|
|
938
|
-
"null"
|
|
939
|
-
]
|
|
940
|
-
},
|
|
941
|
-
"firstUseDate": {
|
|
942
|
-
"type": [
|
|
943
|
-
"string",
|
|
944
|
-
"null"
|
|
945
|
-
]
|
|
946
|
-
},
|
|
947
|
-
"testTypes": {
|
|
948
|
-
"type": "array",
|
|
949
|
-
"items": {
|
|
950
|
-
"title": "Test Type Schema",
|
|
951
|
-
"type": "object",
|
|
952
|
-
"properties": {
|
|
953
|
-
"testTypeName": {
|
|
954
|
-
"type": [
|
|
955
|
-
"string",
|
|
956
|
-
"null"
|
|
957
|
-
]
|
|
958
|
-
},
|
|
959
|
-
"name": {
|
|
960
|
-
"type": "string"
|
|
961
|
-
},
|
|
962
|
-
"testTypeId": {
|
|
963
|
-
"type": "string"
|
|
964
|
-
},
|
|
965
|
-
"certificateNumber": {
|
|
966
|
-
"type": [
|
|
967
|
-
"string",
|
|
968
|
-
"null"
|
|
969
|
-
]
|
|
970
|
-
},
|
|
971
|
-
"secondaryCertificateNumber": {
|
|
972
|
-
"type": [
|
|
973
|
-
"string",
|
|
974
|
-
"null"
|
|
975
|
-
]
|
|
976
|
-
},
|
|
977
|
-
"testTypeStartTimestamp": {
|
|
978
|
-
"type": [
|
|
979
|
-
"string",
|
|
980
|
-
"null"
|
|
981
|
-
]
|
|
982
|
-
},
|
|
983
|
-
"testTypeEndTimestamp": {
|
|
984
|
-
"type": [
|
|
985
|
-
"string",
|
|
986
|
-
"null"
|
|
987
|
-
]
|
|
988
|
-
},
|
|
989
|
-
"testResult": {
|
|
990
|
-
"anyOf": [
|
|
991
|
-
{
|
|
992
|
-
"type:": "null"
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
"title": "Test Results",
|
|
996
|
-
"type": "string",
|
|
997
|
-
"tsEnumNames": [
|
|
998
|
-
"PASS",
|
|
999
|
-
"PRS",
|
|
1000
|
-
"FAIL",
|
|
1001
|
-
"ABANDONED"
|
|
1002
|
-
],
|
|
1003
|
-
"enum": [
|
|
1004
|
-
"pass",
|
|
1005
|
-
"prs",
|
|
1006
|
-
"fail",
|
|
1007
|
-
"abandoned"
|
|
1008
|
-
]
|
|
1009
|
-
}
|
|
1010
|
-
]
|
|
1011
|
-
},
|
|
1012
|
-
"prohibitionIssued": {
|
|
1013
|
-
"type": [
|
|
1014
|
-
"boolean",
|
|
1015
|
-
"null"
|
|
1016
|
-
]
|
|
1017
|
-
},
|
|
1018
|
-
"reasonForAbandoning": {
|
|
1019
|
-
"type": [
|
|
1020
|
-
"string",
|
|
1021
|
-
"null"
|
|
1022
|
-
]
|
|
1023
|
-
},
|
|
1024
|
-
"additionalNotesRecorded": {
|
|
1025
|
-
"type": [
|
|
1026
|
-
"string",
|
|
1027
|
-
"null"
|
|
1028
|
-
],
|
|
1029
|
-
"maxLength": 500
|
|
1030
|
-
},
|
|
1031
|
-
"additionalCommentsForAbandon": {
|
|
1032
|
-
"type": [
|
|
1033
|
-
"string",
|
|
1034
|
-
"null"
|
|
1035
|
-
],
|
|
1036
|
-
"maxLength": 500
|
|
1037
|
-
},
|
|
1038
|
-
"numberOfSeatbeltsFitted": {
|
|
1039
|
-
"type": [
|
|
1040
|
-
"integer",
|
|
1041
|
-
"null"
|
|
1042
|
-
]
|
|
1043
|
-
},
|
|
1044
|
-
"lastSeatbeltInstallationCheckDate": {
|
|
1045
|
-
"type": [
|
|
1046
|
-
"string",
|
|
1047
|
-
"null"
|
|
1048
|
-
]
|
|
1049
|
-
},
|
|
1050
|
-
"seatbeltInstallationCheckDate": {
|
|
1051
|
-
"type": [
|
|
1052
|
-
"boolean",
|
|
1053
|
-
"null"
|
|
1054
|
-
]
|
|
1055
|
-
},
|
|
1056
|
-
"testExpiryDate": {
|
|
1057
|
-
"type": "string"
|
|
1058
|
-
},
|
|
1059
|
-
"testAnniversaryDate": {
|
|
1060
|
-
"type": [
|
|
1061
|
-
"string",
|
|
1062
|
-
"null"
|
|
1063
|
-
]
|
|
1064
|
-
},
|
|
1065
|
-
"modType": {
|
|
1066
|
-
"anyOf": [
|
|
1067
|
-
{
|
|
1068
|
-
"title": "Mod Type Schema",
|
|
1069
|
-
"type": "object",
|
|
1070
|
-
"properties": {
|
|
1071
|
-
"code": {
|
|
1072
|
-
"type": "string"
|
|
1073
|
-
},
|
|
1074
|
-
"description": {
|
|
1075
|
-
"type": "string"
|
|
1076
|
-
}
|
|
1077
|
-
},
|
|
1078
|
-
"required": [
|
|
1079
|
-
"code",
|
|
1080
|
-
"description"
|
|
1081
|
-
],
|
|
1082
|
-
"additionalProperties": false
|
|
1083
|
-
},
|
|
1084
|
-
{
|
|
1085
|
-
"type": "string"
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
"type": "null"
|
|
1089
|
-
}
|
|
1090
|
-
]
|
|
1091
|
-
},
|
|
1092
|
-
"emissionStandard": {
|
|
1093
|
-
"anyOf": [
|
|
1094
|
-
{
|
|
1095
|
-
"type:": "null"
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"title": "Emission Standards",
|
|
1099
|
-
"type": "string",
|
|
1100
|
-
"tsEnumNames": [
|
|
1101
|
-
"EURO3_PM",
|
|
1102
|
-
"EURO4_PM",
|
|
1103
|
-
"EURO3",
|
|
1104
|
-
"EURO4",
|
|
1105
|
-
"EURO5",
|
|
1106
|
-
"EURO6",
|
|
1107
|
-
"EUROV",
|
|
1108
|
-
"EUROVI",
|
|
1109
|
-
"FULL_ELECTRIC"
|
|
1110
|
-
],
|
|
1111
|
-
"enum": [
|
|
1112
|
-
"0.10 g/kWh Euro 3 PM",
|
|
1113
|
-
"0.03 g/kWh Euro IV PM'",
|
|
1114
|
-
"Euro 3",
|
|
1115
|
-
"Euro 4",
|
|
1116
|
-
"Euro 5",
|
|
1117
|
-
"Euro 6",
|
|
1118
|
-
"Euro V",
|
|
1119
|
-
"Euro VI",
|
|
1120
|
-
"Full Electric"
|
|
1121
|
-
]
|
|
1122
|
-
}
|
|
1123
|
-
]
|
|
1124
|
-
},
|
|
1125
|
-
"fuelType": {
|
|
1126
|
-
"anyOf": [
|
|
1127
|
-
{
|
|
1128
|
-
"type:": "null"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"title": "Fuel Type",
|
|
1132
|
-
"type": "string",
|
|
1133
|
-
"tsEnumNames": [
|
|
1134
|
-
"DIESEL",
|
|
1135
|
-
"GAS_CNG",
|
|
1136
|
-
"GAS_LNG",
|
|
1137
|
-
"GAS_LPG",
|
|
1138
|
-
"PETROL",
|
|
1139
|
-
"FUEL_CELL",
|
|
1140
|
-
"FULL_ELECTRIC"
|
|
1141
|
-
],
|
|
1142
|
-
"enum": [
|
|
1143
|
-
"diesel",
|
|
1144
|
-
"gas-cng",
|
|
1145
|
-
"gas-lng",
|
|
1146
|
-
"gas-lpg",
|
|
1147
|
-
"petrol",
|
|
1148
|
-
"fuel cell",
|
|
1149
|
-
"full electric"
|
|
1150
|
-
]
|
|
1151
|
-
}
|
|
1152
|
-
]
|
|
1153
|
-
},
|
|
1154
|
-
"modificationTypeUsed": {
|
|
1155
|
-
"type": [
|
|
1156
|
-
"string",
|
|
1157
|
-
"null"
|
|
1158
|
-
],
|
|
1159
|
-
"maxLength": 100
|
|
1160
|
-
},
|
|
1161
|
-
"smokeTestKLimitApplied": {
|
|
1162
|
-
"type": [
|
|
1163
|
-
"string",
|
|
1164
|
-
"null"
|
|
1165
|
-
],
|
|
1166
|
-
"maxLength": 100
|
|
1167
|
-
},
|
|
1168
|
-
"particulateTrapFitted": {
|
|
1169
|
-
"type": [
|
|
1170
|
-
"string",
|
|
1171
|
-
"null"
|
|
1172
|
-
],
|
|
1173
|
-
"maxLength": 100
|
|
1174
|
-
},
|
|
1175
|
-
"particulateTrapSerialNumber": {
|
|
1176
|
-
"type": [
|
|
1177
|
-
"string",
|
|
1178
|
-
"null"
|
|
1179
|
-
],
|
|
1180
|
-
"maxLength": 100
|
|
1181
|
-
},
|
|
1182
|
-
"defects": {
|
|
1183
|
-
"type": [
|
|
1184
|
-
"array"
|
|
1185
|
-
],
|
|
1186
|
-
"items": {
|
|
1187
|
-
"title": "Defect Details Schema",
|
|
1188
|
-
"type": "object",
|
|
1189
|
-
"properties": {
|
|
1190
|
-
"imNumber": {
|
|
1191
|
-
"type": "integer"
|
|
1192
|
-
},
|
|
1193
|
-
"imDescription": {
|
|
1194
|
-
"type": "string"
|
|
1195
|
-
},
|
|
1196
|
-
"additionalInformation": {
|
|
1197
|
-
"properties": {
|
|
1198
|
-
"location": {
|
|
1199
|
-
"title": "Defect Location Schema",
|
|
1200
|
-
"type": "object",
|
|
1201
|
-
"properties": {
|
|
1202
|
-
"vertical": {
|
|
1203
|
-
"type": [
|
|
1204
|
-
"string",
|
|
1205
|
-
"null"
|
|
1206
|
-
]
|
|
1207
|
-
},
|
|
1208
|
-
"horizontal": {
|
|
1209
|
-
"type": [
|
|
1210
|
-
"string",
|
|
1211
|
-
"null"
|
|
1212
|
-
]
|
|
1213
|
-
},
|
|
1214
|
-
"lateral": {
|
|
1215
|
-
"type": [
|
|
1216
|
-
"string",
|
|
1217
|
-
"null"
|
|
1218
|
-
]
|
|
1219
|
-
},
|
|
1220
|
-
"longitudinal": {
|
|
1221
|
-
"type": [
|
|
1222
|
-
"string",
|
|
1223
|
-
"null"
|
|
1224
|
-
]
|
|
1225
|
-
},
|
|
1226
|
-
"rowNumber": {
|
|
1227
|
-
"type": [
|
|
1228
|
-
"integer",
|
|
1229
|
-
"null"
|
|
1230
|
-
]
|
|
1231
|
-
},
|
|
1232
|
-
"seatNumber": {
|
|
1233
|
-
"type": [
|
|
1234
|
-
"integer",
|
|
1235
|
-
"null"
|
|
1236
|
-
]
|
|
1237
|
-
},
|
|
1238
|
-
"axleNumber": {
|
|
1239
|
-
"type": [
|
|
1240
|
-
"integer",
|
|
1241
|
-
"null"
|
|
1242
|
-
]
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
"additionalProperties": false
|
|
1246
|
-
},
|
|
1247
|
-
"notes": {
|
|
1248
|
-
"type": "string"
|
|
1249
|
-
}
|
|
1250
|
-
},
|
|
1251
|
-
"additionalProperties": false,
|
|
1252
|
-
"required": [
|
|
1253
|
-
"location",
|
|
1254
|
-
"notes"
|
|
1255
|
-
]
|
|
1256
|
-
},
|
|
1257
|
-
"itemNumber": {
|
|
1258
|
-
"type": "integer"
|
|
1259
|
-
},
|
|
1260
|
-
"itemDescription": {
|
|
1261
|
-
"type": "string"
|
|
1262
|
-
},
|
|
1263
|
-
"deficiencyRef": {
|
|
1264
|
-
"type": "string"
|
|
1265
|
-
},
|
|
1266
|
-
"deficiencyId": {
|
|
1267
|
-
"type": [
|
|
1268
|
-
"string",
|
|
1269
|
-
"null"
|
|
1270
|
-
]
|
|
1271
|
-
},
|
|
1272
|
-
"deficiencySubId": {
|
|
1273
|
-
"type": [
|
|
1274
|
-
"string",
|
|
1275
|
-
"null"
|
|
1276
|
-
]
|
|
1277
|
-
},
|
|
1278
|
-
"deficiencyCategory": {
|
|
1279
|
-
"type": "string"
|
|
1280
|
-
},
|
|
1281
|
-
"deficiencyText": {
|
|
1282
|
-
"type": [
|
|
1283
|
-
"string",
|
|
1284
|
-
"null"
|
|
1285
|
-
]
|
|
1286
|
-
},
|
|
1287
|
-
"stdForProhibition": {
|
|
1288
|
-
"type": [
|
|
1289
|
-
"boolean",
|
|
1290
|
-
"null"
|
|
1291
|
-
]
|
|
1292
|
-
},
|
|
1293
|
-
"prs": {
|
|
1294
|
-
"type": [
|
|
1295
|
-
"boolean",
|
|
1296
|
-
"null"
|
|
1297
|
-
]
|
|
1298
|
-
},
|
|
1299
|
-
"prohibitionIssued": {
|
|
1300
|
-
"type": [
|
|
1301
|
-
"boolean",
|
|
1302
|
-
"null"
|
|
1303
|
-
]
|
|
1304
|
-
},
|
|
1305
|
-
"metadata": {
|
|
1306
|
-
"title": "Defect Metadata Schema",
|
|
1307
|
-
"type": "object",
|
|
1308
|
-
"properties": {
|
|
1309
|
-
"category": {
|
|
1310
|
-
"properties": {
|
|
1311
|
-
"additionalInfo": {
|
|
1312
|
-
"title": "Defect Additional Details Metadata Schema",
|
|
1313
|
-
"type": "object",
|
|
1314
|
-
"properties": {
|
|
1315
|
-
"location": {
|
|
1316
|
-
"title": "Defect Location Metadata Schema",
|
|
1317
|
-
"type": "object",
|
|
1318
|
-
"properties": {
|
|
1319
|
-
"vertical": {
|
|
1320
|
-
"anyOf": [
|
|
1321
|
-
{
|
|
1322
|
-
"type": "array",
|
|
1323
|
-
"items": {
|
|
1324
|
-
"type": "string"
|
|
1325
|
-
}
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"type": "null"
|
|
1329
|
-
}
|
|
1330
|
-
]
|
|
1331
|
-
},
|
|
1332
|
-
"horizontal": {
|
|
1333
|
-
"anyOf": [
|
|
1334
|
-
{
|
|
1335
|
-
"type": "array",
|
|
1336
|
-
"items": {
|
|
1337
|
-
"type": "string"
|
|
1338
|
-
}
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"type": "null"
|
|
1342
|
-
}
|
|
1343
|
-
]
|
|
1344
|
-
},
|
|
1345
|
-
"lateral": {
|
|
1346
|
-
"anyOf": [
|
|
1347
|
-
{
|
|
1348
|
-
"type": "array",
|
|
1349
|
-
"items": {
|
|
1350
|
-
"type": "string"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"type": "null"
|
|
1355
|
-
}
|
|
1356
|
-
]
|
|
1357
|
-
},
|
|
1358
|
-
"longitudinal": {
|
|
1359
|
-
"anyOf": [
|
|
1360
|
-
{
|
|
1361
|
-
"type": "array",
|
|
1362
|
-
"items": {
|
|
1363
|
-
"type": "string"
|
|
1364
|
-
}
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"type": "null"
|
|
1368
|
-
}
|
|
1369
|
-
]
|
|
1370
|
-
},
|
|
1371
|
-
"rowNumber": {
|
|
1372
|
-
"anyOf": [
|
|
1373
|
-
{
|
|
1374
|
-
"type": "array",
|
|
1375
|
-
"items": {
|
|
1376
|
-
"type": "number"
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
{
|
|
1380
|
-
"type": "null"
|
|
1381
|
-
}
|
|
1382
|
-
]
|
|
1383
|
-
},
|
|
1384
|
-
"seatNumber": {
|
|
1385
|
-
"anyOf": [
|
|
1386
|
-
{
|
|
1387
|
-
"type": "array",
|
|
1388
|
-
"items": {
|
|
1389
|
-
"type": "integer"
|
|
1390
|
-
}
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"type": "null"
|
|
1394
|
-
}
|
|
1395
|
-
]
|
|
1396
|
-
},
|
|
1397
|
-
"axleNumber": {
|
|
1398
|
-
"anyOf": [
|
|
1399
|
-
{
|
|
1400
|
-
"type": "array",
|
|
1401
|
-
"items": {
|
|
1402
|
-
"type": "number"
|
|
1403
|
-
}
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
"type": "null"
|
|
1407
|
-
}
|
|
1408
|
-
]
|
|
1409
|
-
}
|
|
1410
|
-
},
|
|
1411
|
-
"additionalProperties": false
|
|
1412
|
-
},
|
|
1413
|
-
"notes": {
|
|
1414
|
-
"type": "boolean"
|
|
1415
|
-
}
|
|
1416
|
-
},
|
|
1417
|
-
"additionalProperties": false,
|
|
1418
|
-
"required": [
|
|
1419
|
-
"location",
|
|
1420
|
-
"notes"
|
|
1421
|
-
]
|
|
1422
|
-
}
|
|
1423
|
-
},
|
|
1424
|
-
"additionalProperties": false
|
|
1425
|
-
}
|
|
1426
|
-
},
|
|
1427
|
-
"additionalProperties": false,
|
|
1428
|
-
"required": [
|
|
1429
|
-
"category"
|
|
1430
|
-
]
|
|
1431
|
-
}
|
|
1432
|
-
},
|
|
1433
|
-
"additionalProperties": false,
|
|
1434
|
-
"required": [
|
|
1435
|
-
"imNumber",
|
|
1436
|
-
"imDescription",
|
|
1437
|
-
"additionalInformation",
|
|
1438
|
-
"itemNumber",
|
|
1439
|
-
"itemDescription",
|
|
1440
|
-
"deficiencyRef",
|
|
1441
|
-
"deficiencyId",
|
|
1442
|
-
"deficiencySubId",
|
|
1443
|
-
"deficiencyCategory",
|
|
1444
|
-
"deficiencyText",
|
|
1445
|
-
"stdForProhibition",
|
|
1446
|
-
"prs",
|
|
1447
|
-
"prohibitionIssued",
|
|
1448
|
-
"metadata"
|
|
1449
|
-
]
|
|
1450
|
-
}
|
|
1451
|
-
},
|
|
1452
|
-
"customDefects": {
|
|
1453
|
-
"type": [
|
|
1454
|
-
"array",
|
|
1455
|
-
"null"
|
|
1456
|
-
],
|
|
1457
|
-
"items": {
|
|
1458
|
-
"title": "Specialist Custom Defects Schema",
|
|
1459
|
-
"type": "object",
|
|
1460
|
-
"properties": {
|
|
1461
|
-
"referenceNumber": {
|
|
1462
|
-
"type": "string"
|
|
1463
|
-
},
|
|
1464
|
-
"defectName": {
|
|
1465
|
-
"type": "string"
|
|
1466
|
-
},
|
|
1467
|
-
"defectNotes": {
|
|
1468
|
-
"type": "string"
|
|
1469
|
-
},
|
|
1470
|
-
"hasAllMandatoryFields": {
|
|
1471
|
-
"type": "boolean",
|
|
1472
|
-
"description": "FE only"
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
"additionalProperties": false,
|
|
1476
|
-
"required": [
|
|
1477
|
-
"referenceNumber",
|
|
1478
|
-
"defectName",
|
|
1479
|
-
"defectNotes"
|
|
1480
|
-
]
|
|
1481
|
-
}
|
|
1482
|
-
},
|
|
1483
|
-
"requiredStandards": {
|
|
1484
|
-
"type": [
|
|
1485
|
-
"array"
|
|
1486
|
-
],
|
|
1487
|
-
"items": {
|
|
1488
|
-
"title": "Specialist Custom Defects Schema Put",
|
|
1489
|
-
"type": "object",
|
|
1490
|
-
"properties": {
|
|
1491
|
-
"sectionNumber": {
|
|
1492
|
-
"type": "string"
|
|
1493
|
-
},
|
|
1494
|
-
"sectionDescription": {
|
|
1495
|
-
"type": "string"
|
|
1496
|
-
},
|
|
1497
|
-
"additionalNotes": {
|
|
1498
|
-
"type": [
|
|
1499
|
-
"string",
|
|
1500
|
-
"null"
|
|
1501
|
-
]
|
|
1502
|
-
},
|
|
1503
|
-
"rsNumber": {
|
|
1504
|
-
"type": "integer"
|
|
1505
|
-
},
|
|
1506
|
-
"requiredStandard": {
|
|
1507
|
-
"type": "string"
|
|
1508
|
-
},
|
|
1509
|
-
"refCalculation": {
|
|
1510
|
-
"type": "string"
|
|
1511
|
-
},
|
|
1512
|
-
"additionalInfo": {
|
|
1513
|
-
"type": "boolean"
|
|
1514
|
-
},
|
|
1515
|
-
"inspectionTypes": {
|
|
1516
|
-
"type": "array",
|
|
1517
|
-
"items": {
|
|
1518
|
-
"anyOf": [
|
|
1519
|
-
{
|
|
1520
|
-
"title": "Inspection Type",
|
|
1521
|
-
"type": "string",
|
|
1522
|
-
"enum": [
|
|
1523
|
-
"basic",
|
|
1524
|
-
"normal"
|
|
1525
|
-
]
|
|
1526
|
-
}
|
|
1527
|
-
]
|
|
1528
|
-
}
|
|
1529
|
-
},
|
|
1530
|
-
"prs": {
|
|
1531
|
-
"type": "boolean"
|
|
1532
|
-
}
|
|
1533
|
-
},
|
|
1534
|
-
"additionalProperties": false,
|
|
1535
|
-
"required": [
|
|
1536
|
-
"sectionNumber",
|
|
1537
|
-
"sectionDescription",
|
|
1538
|
-
"rsNumber",
|
|
1539
|
-
"requiredStandard",
|
|
1540
|
-
"refCalculation",
|
|
1541
|
-
"additionalInfo",
|
|
1542
|
-
"referenceNumber",
|
|
1543
|
-
"prs"
|
|
1544
|
-
]
|
|
1545
|
-
}
|
|
1546
|
-
},
|
|
1547
|
-
"testNumber": {
|
|
1548
|
-
"type": [
|
|
1549
|
-
"string",
|
|
1550
|
-
"null"
|
|
1551
|
-
]
|
|
1552
|
-
},
|
|
1553
|
-
"reapplicationDate": {
|
|
1554
|
-
"type": [
|
|
1555
|
-
"string",
|
|
1556
|
-
"null"
|
|
1557
|
-
]
|
|
1558
|
-
},
|
|
1559
|
-
"testCode": {
|
|
1560
|
-
"type": [
|
|
1561
|
-
"string",
|
|
1562
|
-
"null"
|
|
1563
|
-
]
|
|
1564
|
-
},
|
|
1565
|
-
"lastUpdatedAt": {
|
|
1566
|
-
"type": [
|
|
1567
|
-
"string",
|
|
1568
|
-
"date",
|
|
1569
|
-
"null"
|
|
1570
|
-
]
|
|
1571
|
-
},
|
|
1572
|
-
"createdAt": {
|
|
1573
|
-
"type": [
|
|
1574
|
-
"string",
|
|
1575
|
-
"date",
|
|
1576
|
-
"null"
|
|
1577
|
-
]
|
|
1578
|
-
},
|
|
1579
|
-
"testTypeClassification": {
|
|
1580
|
-
"type": [
|
|
1581
|
-
"string",
|
|
1582
|
-
"null"
|
|
1583
|
-
]
|
|
1584
|
-
},
|
|
1585
|
-
"deletionFlag": {
|
|
1586
|
-
"type": [
|
|
1587
|
-
"string",
|
|
1588
|
-
"null"
|
|
1589
|
-
]
|
|
1590
|
-
},
|
|
1591
|
-
"centralDocs": {
|
|
1592
|
-
"properties": {
|
|
1593
|
-
"issueRequired": {
|
|
1594
|
-
"type": "boolean"
|
|
1595
|
-
},
|
|
1596
|
-
"notes": {
|
|
1597
|
-
"type": "string"
|
|
1598
|
-
},
|
|
1599
|
-
"reasonsForIssue": {
|
|
1600
|
-
"type": "array",
|
|
1601
|
-
"items": {
|
|
1602
|
-
"type": "string"
|
|
1603
|
-
}
|
|
1604
|
-
}
|
|
1605
|
-
},
|
|
1606
|
-
"additionalProperties": false,
|
|
1607
|
-
"required": [
|
|
1608
|
-
"issueRequired",
|
|
1609
|
-
"reasonsForIssue"
|
|
1610
|
-
]
|
|
1611
|
-
}
|
|
1612
|
-
},
|
|
1613
|
-
"required": [
|
|
1614
|
-
"testTypeName",
|
|
1615
|
-
"name",
|
|
1616
|
-
"testTypeId",
|
|
1617
|
-
"certificateNumber",
|
|
1618
|
-
"secondaryCertificateNumber",
|
|
1619
|
-
"testTypeStartTimestamp",
|
|
1620
|
-
"testTypeEndTimestamp",
|
|
1621
|
-
"testResult",
|
|
1622
|
-
"prohibitionIssued",
|
|
1623
|
-
"reasonForAbandoning",
|
|
1624
|
-
"additionalNotesRecorded",
|
|
1625
|
-
"additionalCommentsForAbandon",
|
|
1626
|
-
"defects"
|
|
1627
|
-
],
|
|
1628
|
-
"additionalProperties": false
|
|
1629
|
-
}
|
|
1630
|
-
},
|
|
1631
|
-
"reasonForCreation": {
|
|
1632
|
-
"type": "string",
|
|
1633
|
-
"maxLength": 100
|
|
1634
|
-
},
|
|
1635
|
-
"createdAt": {
|
|
1636
|
-
"type": [
|
|
1637
|
-
"string",
|
|
1638
|
-
"null"
|
|
1639
|
-
]
|
|
1640
|
-
},
|
|
1641
|
-
"createdByEmailAddress": {
|
|
1642
|
-
"type": "string"
|
|
1643
|
-
},
|
|
1644
|
-
"createdByName": {
|
|
1645
|
-
"type": "string"
|
|
1646
|
-
},
|
|
1647
|
-
"createdById": {
|
|
1648
|
-
"type": "string"
|
|
1649
|
-
},
|
|
1650
|
-
"lastUpdatedAt": {
|
|
1651
|
-
"type": [
|
|
1652
|
-
"string",
|
|
1653
|
-
"null"
|
|
1654
|
-
]
|
|
1655
|
-
},
|
|
1656
|
-
"lastUpdatedByEmailAddress": {
|
|
1657
|
-
"type": "string"
|
|
1658
|
-
},
|
|
1659
|
-
"lastUpdatedByName": {
|
|
1660
|
-
"type": "string"
|
|
1661
|
-
},
|
|
1662
|
-
"lastUpdatedById": {
|
|
1663
|
-
"type": "string"
|
|
1664
|
-
},
|
|
1665
|
-
"shouldEmailCertificate": {
|
|
1666
|
-
"type": "string"
|
|
1667
|
-
},
|
|
1668
|
-
"contingencyTestNumber": {
|
|
1669
|
-
"type": [
|
|
1670
|
-
"string",
|
|
1671
|
-
"null"
|
|
1672
|
-
],
|
|
1673
|
-
"maxLength": 8,
|
|
1674
|
-
"minLength": 6
|
|
1675
|
-
},
|
|
1676
|
-
"typeOfTest": {
|
|
1677
|
-
"anyOf": [
|
|
1678
|
-
{
|
|
1679
|
-
"title": "Type of test",
|
|
1680
|
-
"type": "string",
|
|
1681
|
-
"tsEnumNames": [
|
|
1682
|
-
"CONTINGENCY",
|
|
1683
|
-
"DESK_BASED",
|
|
1684
|
-
"COMPLETION"
|
|
1685
|
-
],
|
|
1686
|
-
"enum": [
|
|
1687
|
-
"contingency",
|
|
1688
|
-
"desk-based",
|
|
1689
|
-
"completion"
|
|
1690
|
-
]
|
|
1691
|
-
}
|
|
1692
|
-
]
|
|
1693
|
-
},
|
|
1694
|
-
"source": {
|
|
1695
|
-
"anyOf": [
|
|
1696
|
-
{
|
|
1697
|
-
"title": "Test Sources",
|
|
1698
|
-
"type": "string",
|
|
1699
|
-
"tsEnumNames": [
|
|
1700
|
-
"VTM",
|
|
1701
|
-
"VTA"
|
|
1702
|
-
],
|
|
1703
|
-
"enum": [
|
|
1704
|
-
"vtm",
|
|
1705
|
-
"vta"
|
|
1706
|
-
]
|
|
1707
|
-
}
|
|
1708
|
-
]
|
|
1709
|
-
},
|
|
1710
|
-
"make": {
|
|
1711
|
-
"type": [
|
|
1712
|
-
"string",
|
|
1713
|
-
"null"
|
|
1714
|
-
]
|
|
1715
|
-
},
|
|
1716
|
-
"model": {
|
|
1717
|
-
"type": [
|
|
1718
|
-
"string",
|
|
1719
|
-
"null"
|
|
1720
|
-
]
|
|
1721
|
-
},
|
|
1722
|
-
"bodyType": {
|
|
1723
|
-
"title": "Body Type Schema",
|
|
1724
|
-
"type": "object",
|
|
1725
|
-
"properties": {
|
|
1726
|
-
"code": {
|
|
1727
|
-
"type": [
|
|
1728
|
-
"string",
|
|
1729
|
-
"null"
|
|
1730
|
-
]
|
|
1731
|
-
},
|
|
1732
|
-
"description": {
|
|
1733
|
-
"type": [
|
|
1734
|
-
"string",
|
|
1735
|
-
"null"
|
|
1736
|
-
]
|
|
1737
|
-
}
|
|
1738
|
-
},
|
|
1739
|
-
"additionalProperties": false
|
|
1740
|
-
},
|
|
1741
|
-
"vehicleId": {
|
|
1742
|
-
"type": [
|
|
1743
|
-
"string",
|
|
1744
|
-
"null"
|
|
1745
|
-
]
|
|
1746
|
-
}
|
|
1747
|
-
},
|
|
1748
|
-
"additionalProperties": false,
|
|
1749
|
-
"required": [
|
|
1750
|
-
"testResultId",
|
|
1751
|
-
"testStationName",
|
|
1752
|
-
"testStationPNumber",
|
|
1753
|
-
"testStationType",
|
|
1754
|
-
"testerName",
|
|
1755
|
-
"testerStaffId",
|
|
1756
|
-
"testerEmailAddress",
|
|
1757
|
-
"testStartTimestamp",
|
|
1758
|
-
"testEndTimestamp",
|
|
1759
|
-
"testStatus",
|
|
1760
|
-
"reasonForCancellation",
|
|
1761
|
-
"systemNumber",
|
|
1762
|
-
"vin",
|
|
1763
|
-
"vehicleClass",
|
|
1764
|
-
"vehicleType",
|
|
1765
|
-
"vehicleConfiguration",
|
|
1766
|
-
"preparerId",
|
|
1767
|
-
"preparerName",
|
|
1768
|
-
"euVehicleCategory",
|
|
1769
|
-
"countryOfRegistration",
|
|
1770
|
-
"noOfAxles",
|
|
1771
|
-
"numberOfWheelsDriven",
|
|
1772
|
-
"testTypes"
|
|
1773
|
-
]
|
|
1774
|
-
}
|
|
683
|
+
"items": {}
|
|
1775
684
|
},
|
|
1776
685
|
"countryOfRegistration": {
|
|
1777
686
|
"type": "string"
|