@dvsa/cvs-type-definitions 8.1.0 → 9.1.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/enums/euVehicleCategory.enum.json +44 -0
- package/json-schemas/enums/vehicleSize.enum.json +12 -0
- package/json-schemas/enums/vehicleSubclass.enum.json +26 -0
- package/json-schemas/enums/vehicleType.enum.json +20 -0
- package/json-schemas/required-standards/defects/get/index.json +1 -72
- package/json-schemas/test-type/enums/testTypeClassification.enum.json +14 -0
- package/json-schemas/test-type/get/index.json +572 -0
- package/json-schemas/test-type/nextTestTypesOrCategory.json +416 -0
- package/json-schemas/test-type/testCode.json +266 -0
- package/json-schemas/v1/activity/index.json +12 -0
- package/json-schemas/v1/defect-category-reference-data/index.json +2 -192
- package/json-schemas/v1/enums/closureReason.enum.json +12 -0
- package/json-schemas/v1/tech-record/index.json +1 -19
- package/json-schemas/v1/test/index.json +438 -21
- package/json-schemas/v1/test-result/index.json +1128 -1
- package/json-schemas/v1/{test-type → test-result-test-type}/index.json +1 -1
- package/json-schemas/v1/vehicle/index.json +438 -21
- package/json-schemas/v1/vehicle-tech-record/index.json +1 -19
- package/json-schemas/v1/visit/index.json +438 -21
- package/json-schemas/v3/tech-record/get/psv/complete/index.json +1 -10
- package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +1 -10
- package/json-schemas/v3/tech-record/get/psv/testable/index.json +1 -10
- package/json-schemas/v3/tech-record/put/psv/complete/index.json +1 -10
- package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +1 -10
- package/json-schemas/v3/tech-record/put/psv/testable/index.json +1 -10
- package/package.json +2 -1
- package/schemas.d.ts +1 -1
- package/schemas.js +11 -2
- package/types/enums/euVehicleCategory.enum.d.ts +25 -0
- package/types/enums/euVehicleCategory.enum.js +30 -0
- package/types/enums/euVehicleCategory.enum.ts +27 -0
- package/types/enums/vehicleSize.enum.d.ts +9 -0
- package/types/enums/vehicleSize.enum.js +14 -0
- package/types/enums/vehicleSize.enum.ts +11 -0
- package/types/enums/vehicleSubclass.enum.d.ts +16 -0
- package/types/enums/vehicleSubclass.enum.js +21 -0
- package/types/enums/vehicleSubclass.enum.ts +18 -0
- package/types/enums/vehicleType.enum.d.ts +13 -0
- package/types/enums/vehicleType.enum.js +18 -0
- package/types/enums/vehicleType.enum.ts +15 -0
- package/types/test-type/enums/testTypeClassification.enum.d.ts +10 -0
- package/types/test-type/enums/testTypeClassification.enum.js +15 -0
- package/types/test-type/enums/testTypeClassification.enum.ts +12 -0
- package/types/test-type/get/index.d.ts +128 -0
- package/types/test-type/nextTestTypesOrCategory.d.ts +124 -0
- package/types/test-type/testCode.d.ts +79 -0
- package/types/v1/activity/index.d.ts +5 -0
- package/types/v1/enums/closureReason.enum.d.ts +9 -0
- package/types/v1/enums/closureReason.enum.js +14 -0
- package/types/v1/enums/closureReason.enum.ts +11 -0
- package/types/v1/test/index.d.ts +3 -3
- package/types/v1/test-result/index.d.ts +2 -2
- package/types/v1/{test-type → test-result-test-type}/index.d.ts +1 -1
- package/types/v1/vehicle/index.d.ts +3 -3
- package/types/v1/visit/index.d.ts +3 -3
- /package/json-schemas/{v3/tech-record/enums → enums}/vehicleConfiguration.enum.json +0 -0
- /package/types/{v3/tech-record/enums → enums}/vehicleConfiguration.enum.d.ts +0 -0
- /package/types/{v3/tech-record/enums → enums}/vehicleConfiguration.enum.js +0 -0
- /package/types/{v3/tech-record/enums → enums}/vehicleConfiguration.enum.ts +0 -0
|
@@ -357,25 +357,7 @@
|
|
|
357
357
|
"additionalProperties": false
|
|
358
358
|
},
|
|
359
359
|
"brakeForceWheelsUpToHalfLocked": {
|
|
360
|
-
"
|
|
361
|
-
"type": "object",
|
|
362
|
-
"properties": {
|
|
363
|
-
"serviceBrakeForce": {
|
|
364
|
-
"type": "integer"
|
|
365
|
-
},
|
|
366
|
-
"secondaryBrakeForce": {
|
|
367
|
-
"type": "integer"
|
|
368
|
-
},
|
|
369
|
-
"parkingBrakeForce": {
|
|
370
|
-
"type": "integer"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
"required": [
|
|
374
|
-
"serviceBrakeForce",
|
|
375
|
-
"secondaryBrakeForce",
|
|
376
|
-
"parkingBrakeForce"
|
|
377
|
-
],
|
|
378
|
-
"additionalProperties": false
|
|
360
|
+
"$ref": "#/properties/tests/items/properties/vehicles/items/properties/techRecord/properties/brakes/properties/brakeForceWheelsNotLocked"
|
|
379
361
|
},
|
|
380
362
|
"dtpNumber": {
|
|
381
363
|
"type": "string"
|
|
@@ -713,7 +695,442 @@
|
|
|
713
695
|
},
|
|
714
696
|
"testResultsHistory": {
|
|
715
697
|
"type": "array",
|
|
716
|
-
"items": {
|
|
698
|
+
"items": {
|
|
699
|
+
"title": "Test Result Schema",
|
|
700
|
+
"type": "object",
|
|
701
|
+
"properties": {
|
|
702
|
+
"testResultId": {
|
|
703
|
+
"type": "string"
|
|
704
|
+
},
|
|
705
|
+
"testStationName": {
|
|
706
|
+
"type": [
|
|
707
|
+
"string",
|
|
708
|
+
"null"
|
|
709
|
+
],
|
|
710
|
+
"maxLength": 999
|
|
711
|
+
},
|
|
712
|
+
"testStationPNumber": {
|
|
713
|
+
"type": [
|
|
714
|
+
"string",
|
|
715
|
+
"null"
|
|
716
|
+
],
|
|
717
|
+
"maxLength": 20
|
|
718
|
+
},
|
|
719
|
+
"testStationType": {
|
|
720
|
+
"anyOf": [
|
|
721
|
+
{
|
|
722
|
+
"title": "Test Station Types",
|
|
723
|
+
"type": "string",
|
|
724
|
+
"tsEnumNames": [
|
|
725
|
+
"ATF",
|
|
726
|
+
"GVTS",
|
|
727
|
+
"HQ",
|
|
728
|
+
"POTF",
|
|
729
|
+
"VEF"
|
|
730
|
+
],
|
|
731
|
+
"enum": [
|
|
732
|
+
"atf",
|
|
733
|
+
"gvts",
|
|
734
|
+
"hq",
|
|
735
|
+
"potf",
|
|
736
|
+
"vef"
|
|
737
|
+
]
|
|
738
|
+
}
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"testerName": {
|
|
742
|
+
"type": [
|
|
743
|
+
"string",
|
|
744
|
+
"null"
|
|
745
|
+
],
|
|
746
|
+
"maxLength": 60
|
|
747
|
+
},
|
|
748
|
+
"testerStaffId": {
|
|
749
|
+
"type": "string",
|
|
750
|
+
"maxLength": 36
|
|
751
|
+
},
|
|
752
|
+
"testerEmailAddress": {
|
|
753
|
+
"type": [
|
|
754
|
+
"string",
|
|
755
|
+
"null"
|
|
756
|
+
],
|
|
757
|
+
"maxLength": 60
|
|
758
|
+
},
|
|
759
|
+
"testStartTimestamp": {
|
|
760
|
+
"type": "string"
|
|
761
|
+
},
|
|
762
|
+
"testEndTimestamp": {
|
|
763
|
+
"type": "string"
|
|
764
|
+
},
|
|
765
|
+
"testStatus": {
|
|
766
|
+
"anyOf": [
|
|
767
|
+
{
|
|
768
|
+
"title": "Test Status",
|
|
769
|
+
"type": "string",
|
|
770
|
+
"tsEnumNames": [
|
|
771
|
+
"SUBMITTED",
|
|
772
|
+
"CANCELLED"
|
|
773
|
+
],
|
|
774
|
+
"enum": [
|
|
775
|
+
"submitted",
|
|
776
|
+
"cancelled"
|
|
777
|
+
]
|
|
778
|
+
}
|
|
779
|
+
]
|
|
780
|
+
},
|
|
781
|
+
"reasonForCancellation": {
|
|
782
|
+
"type": [
|
|
783
|
+
"string",
|
|
784
|
+
"null"
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
"systemNumber": {
|
|
788
|
+
"type": "string"
|
|
789
|
+
},
|
|
790
|
+
"vrm": {
|
|
791
|
+
"type": "string",
|
|
792
|
+
"maxLength": 9
|
|
793
|
+
},
|
|
794
|
+
"trailerId": {
|
|
795
|
+
"type": "string"
|
|
796
|
+
},
|
|
797
|
+
"vin": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"maxLength": 21
|
|
800
|
+
},
|
|
801
|
+
"vehicleClass": {
|
|
802
|
+
"$ref": "#/properties/tests/items/properties/vehicles/items/properties/techRecord/properties/vehicleClass"
|
|
803
|
+
},
|
|
804
|
+
"vehicleSubclass": {
|
|
805
|
+
"type": "array",
|
|
806
|
+
"items": {
|
|
807
|
+
"type": "string"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
"vehicleType": {
|
|
811
|
+
"anyOf": [
|
|
812
|
+
{
|
|
813
|
+
"title": "Vehicle Type",
|
|
814
|
+
"type": "string",
|
|
815
|
+
"enum": [
|
|
816
|
+
"psv",
|
|
817
|
+
"trl",
|
|
818
|
+
"hgv",
|
|
819
|
+
"car",
|
|
820
|
+
"lgv",
|
|
821
|
+
"motorcycle"
|
|
822
|
+
]
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
"vehicleConfiguration": {
|
|
827
|
+
"type": "string"
|
|
828
|
+
},
|
|
829
|
+
"odometerReading": {
|
|
830
|
+
"type": [
|
|
831
|
+
"number",
|
|
832
|
+
"null"
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
"odometerReadingUnits": {
|
|
836
|
+
"anyOf": [
|
|
837
|
+
{
|
|
838
|
+
"title": "Odometer Reading Units",
|
|
839
|
+
"type": "string",
|
|
840
|
+
"tsEnumNames": [
|
|
841
|
+
"KILOMETRES",
|
|
842
|
+
"MILES"
|
|
843
|
+
],
|
|
844
|
+
"enum": [
|
|
845
|
+
"kilometres",
|
|
846
|
+
"miles"
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"type": "null"
|
|
851
|
+
}
|
|
852
|
+
]
|
|
853
|
+
},
|
|
854
|
+
"preparerId": {
|
|
855
|
+
"type": [
|
|
856
|
+
"string",
|
|
857
|
+
"null"
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
"preparerName": {
|
|
861
|
+
"type": [
|
|
862
|
+
"string",
|
|
863
|
+
"null"
|
|
864
|
+
]
|
|
865
|
+
},
|
|
866
|
+
"euVehicleCategory": {
|
|
867
|
+
"anyOf": [
|
|
868
|
+
{
|
|
869
|
+
"title": "EU vehicle category",
|
|
870
|
+
"type": "string",
|
|
871
|
+
"tsEnumNames": [
|
|
872
|
+
"M1",
|
|
873
|
+
"M2",
|
|
874
|
+
"M3",
|
|
875
|
+
"N1",
|
|
876
|
+
"N2",
|
|
877
|
+
"N3",
|
|
878
|
+
"O1",
|
|
879
|
+
"O2",
|
|
880
|
+
"O3",
|
|
881
|
+
"O4",
|
|
882
|
+
"L1E_A",
|
|
883
|
+
"l1E",
|
|
884
|
+
"L2e",
|
|
885
|
+
"L3E",
|
|
886
|
+
"L4E",
|
|
887
|
+
"L5E",
|
|
888
|
+
"L6E",
|
|
889
|
+
"L7E"
|
|
890
|
+
],
|
|
891
|
+
"enum": [
|
|
892
|
+
"m1",
|
|
893
|
+
"m2",
|
|
894
|
+
"m3",
|
|
895
|
+
"n1",
|
|
896
|
+
"n2",
|
|
897
|
+
"n3",
|
|
898
|
+
"o1",
|
|
899
|
+
"o2",
|
|
900
|
+
"o3",
|
|
901
|
+
"o4",
|
|
902
|
+
"l1e-a",
|
|
903
|
+
"l1e",
|
|
904
|
+
"l2e",
|
|
905
|
+
"l3e",
|
|
906
|
+
"l4e",
|
|
907
|
+
"l5e",
|
|
908
|
+
"l6e",
|
|
909
|
+
"l7e"
|
|
910
|
+
]
|
|
911
|
+
}
|
|
912
|
+
]
|
|
913
|
+
},
|
|
914
|
+
"countryOfRegistration": {
|
|
915
|
+
"type": [
|
|
916
|
+
"string",
|
|
917
|
+
"null"
|
|
918
|
+
]
|
|
919
|
+
},
|
|
920
|
+
"noOfAxles": {
|
|
921
|
+
"type": "integer",
|
|
922
|
+
"maximum": 99
|
|
923
|
+
},
|
|
924
|
+
"numberOfWheelsDriven": {
|
|
925
|
+
"type": [
|
|
926
|
+
"integer",
|
|
927
|
+
"null"
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
"vehicleSize": {
|
|
931
|
+
"type": "string"
|
|
932
|
+
},
|
|
933
|
+
"numberOfSeats": {
|
|
934
|
+
"type": "integer"
|
|
935
|
+
},
|
|
936
|
+
"regnDate": {
|
|
937
|
+
"type": [
|
|
938
|
+
"string",
|
|
939
|
+
"null"
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
"firstUseDate": {
|
|
943
|
+
"type": [
|
|
944
|
+
"string",
|
|
945
|
+
"null"
|
|
946
|
+
]
|
|
947
|
+
},
|
|
948
|
+
"testTypes": {
|
|
949
|
+
"type": "array",
|
|
950
|
+
"items": {
|
|
951
|
+
"$ref": "#/properties/tests/items/properties/vehicles/items/properties/testTypes/items"
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"reasonForCreation": {
|
|
955
|
+
"type": "string",
|
|
956
|
+
"maxLength": 100
|
|
957
|
+
},
|
|
958
|
+
"createdAt": {
|
|
959
|
+
"type": [
|
|
960
|
+
"string",
|
|
961
|
+
"null"
|
|
962
|
+
]
|
|
963
|
+
},
|
|
964
|
+
"createdByEmailAddress": {
|
|
965
|
+
"type": "string"
|
|
966
|
+
},
|
|
967
|
+
"createdByName": {
|
|
968
|
+
"type": "string"
|
|
969
|
+
},
|
|
970
|
+
"createdById": {
|
|
971
|
+
"type": "string"
|
|
972
|
+
},
|
|
973
|
+
"lastUpdatedAt": {
|
|
974
|
+
"type": [
|
|
975
|
+
"string",
|
|
976
|
+
"null"
|
|
977
|
+
]
|
|
978
|
+
},
|
|
979
|
+
"lastUpdatedByEmailAddress": {
|
|
980
|
+
"type": "string"
|
|
981
|
+
},
|
|
982
|
+
"lastUpdatedByName": {
|
|
983
|
+
"type": "string"
|
|
984
|
+
},
|
|
985
|
+
"lastUpdatedById": {
|
|
986
|
+
"type": "string"
|
|
987
|
+
},
|
|
988
|
+
"shouldEmailCertificate": {
|
|
989
|
+
"type": "string"
|
|
990
|
+
},
|
|
991
|
+
"contingencyTestNumber": {
|
|
992
|
+
"type": [
|
|
993
|
+
"string",
|
|
994
|
+
"null"
|
|
995
|
+
],
|
|
996
|
+
"maxLength": 8,
|
|
997
|
+
"minLength": 6
|
|
998
|
+
},
|
|
999
|
+
"typeOfTest": {
|
|
1000
|
+
"anyOf": [
|
|
1001
|
+
{
|
|
1002
|
+
"title": "Type of test",
|
|
1003
|
+
"type": "string",
|
|
1004
|
+
"tsEnumNames": [
|
|
1005
|
+
"CONTINGENCY",
|
|
1006
|
+
"DESK_BASED",
|
|
1007
|
+
"COMPLETION"
|
|
1008
|
+
],
|
|
1009
|
+
"enum": [
|
|
1010
|
+
"contingency",
|
|
1011
|
+
"desk-based",
|
|
1012
|
+
"completion"
|
|
1013
|
+
]
|
|
1014
|
+
}
|
|
1015
|
+
]
|
|
1016
|
+
},
|
|
1017
|
+
"source": {
|
|
1018
|
+
"anyOf": [
|
|
1019
|
+
{
|
|
1020
|
+
"title": "Test Sources",
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"tsEnumNames": [
|
|
1023
|
+
"VTM",
|
|
1024
|
+
"VTA"
|
|
1025
|
+
],
|
|
1026
|
+
"enum": [
|
|
1027
|
+
"vtm",
|
|
1028
|
+
"vta"
|
|
1029
|
+
]
|
|
1030
|
+
}
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
"make": {
|
|
1034
|
+
"type": [
|
|
1035
|
+
"string",
|
|
1036
|
+
"null"
|
|
1037
|
+
]
|
|
1038
|
+
},
|
|
1039
|
+
"model": {
|
|
1040
|
+
"type": [
|
|
1041
|
+
"string",
|
|
1042
|
+
"null"
|
|
1043
|
+
]
|
|
1044
|
+
},
|
|
1045
|
+
"bodyType": {
|
|
1046
|
+
"title": "Body Type Schema",
|
|
1047
|
+
"type": "object",
|
|
1048
|
+
"properties": {
|
|
1049
|
+
"code": {
|
|
1050
|
+
"type": [
|
|
1051
|
+
"string",
|
|
1052
|
+
"null"
|
|
1053
|
+
]
|
|
1054
|
+
},
|
|
1055
|
+
"description": {
|
|
1056
|
+
"type": [
|
|
1057
|
+
"string",
|
|
1058
|
+
"null"
|
|
1059
|
+
]
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
"additionalProperties": false
|
|
1063
|
+
},
|
|
1064
|
+
"vehicleId": {
|
|
1065
|
+
"type": [
|
|
1066
|
+
"string",
|
|
1067
|
+
"null"
|
|
1068
|
+
]
|
|
1069
|
+
},
|
|
1070
|
+
"testHistory": {
|
|
1071
|
+
"type": "array",
|
|
1072
|
+
"items": {
|
|
1073
|
+
"$ref": "#/properties/tests/items/properties/vehicles/items/properties/testResultsHistory/items"
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
"testVersion": {
|
|
1077
|
+
"type": "string"
|
|
1078
|
+
},
|
|
1079
|
+
"deletionFlag": {
|
|
1080
|
+
"type": "boolean"
|
|
1081
|
+
},
|
|
1082
|
+
"recalls": {
|
|
1083
|
+
"anyOf": [
|
|
1084
|
+
{
|
|
1085
|
+
"title": "Recalls Schema",
|
|
1086
|
+
"type": "object",
|
|
1087
|
+
"properties": {
|
|
1088
|
+
"hasRecall": {
|
|
1089
|
+
"type": "boolean"
|
|
1090
|
+
},
|
|
1091
|
+
"manufacturer": {
|
|
1092
|
+
"type": [
|
|
1093
|
+
"string",
|
|
1094
|
+
"null"
|
|
1095
|
+
]
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
"additionalProperties": false,
|
|
1099
|
+
"required": [
|
|
1100
|
+
"hasRecall",
|
|
1101
|
+
"manufacturer"
|
|
1102
|
+
]
|
|
1103
|
+
}
|
|
1104
|
+
]
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
"additionalProperties": false,
|
|
1108
|
+
"required": [
|
|
1109
|
+
"testResultId",
|
|
1110
|
+
"testStationName",
|
|
1111
|
+
"testStationPNumber",
|
|
1112
|
+
"testStationType",
|
|
1113
|
+
"testerName",
|
|
1114
|
+
"testerStaffId",
|
|
1115
|
+
"testerEmailAddress",
|
|
1116
|
+
"testStartTimestamp",
|
|
1117
|
+
"testEndTimestamp",
|
|
1118
|
+
"testStatus",
|
|
1119
|
+
"reasonForCancellation",
|
|
1120
|
+
"systemNumber",
|
|
1121
|
+
"vin",
|
|
1122
|
+
"vehicleClass",
|
|
1123
|
+
"vehicleType",
|
|
1124
|
+
"vehicleConfiguration",
|
|
1125
|
+
"preparerId",
|
|
1126
|
+
"preparerName",
|
|
1127
|
+
"euVehicleCategory",
|
|
1128
|
+
"countryOfRegistration",
|
|
1129
|
+
"noOfAxles",
|
|
1130
|
+
"numberOfWheelsDriven",
|
|
1131
|
+
"testTypes"
|
|
1132
|
+
]
|
|
1133
|
+
}
|
|
717
1134
|
},
|
|
718
1135
|
"countryOfRegistration": {
|
|
719
1136
|
"type": "string"
|
|
@@ -736,7 +1153,7 @@
|
|
|
736
1153
|
"testTypes": {
|
|
737
1154
|
"type": "array",
|
|
738
1155
|
"items": {
|
|
739
|
-
"title": "Test Type Schema",
|
|
1156
|
+
"title": "Test Result Test Type Schema",
|
|
740
1157
|
"type": "object",
|
|
741
1158
|
"properties": {
|
|
742
1159
|
"testTypeName": {
|
|
@@ -887,16 +887,7 @@
|
|
|
887
887
|
"techRecord_brakes_retarderBrakeTwo": {
|
|
888
888
|
"anyOf": [
|
|
889
889
|
{
|
|
890
|
-
"
|
|
891
|
-
"type": "string",
|
|
892
|
-
"enum": [
|
|
893
|
-
"electric",
|
|
894
|
-
"exhaust",
|
|
895
|
-
"friction",
|
|
896
|
-
"hydraulic",
|
|
897
|
-
"other",
|
|
898
|
-
"none"
|
|
899
|
-
]
|
|
890
|
+
"$ref": "#/properties/techRecord_brakes_retarderBrakeOne/anyOf/0"
|
|
900
891
|
},
|
|
901
892
|
{
|
|
902
893
|
"type": "null"
|
|
@@ -936,16 +936,7 @@
|
|
|
936
936
|
"techRecord_brakes_retarderBrakeTwo": {
|
|
937
937
|
"anyOf": [
|
|
938
938
|
{
|
|
939
|
-
"
|
|
940
|
-
"type": "string",
|
|
941
|
-
"enum": [
|
|
942
|
-
"electric",
|
|
943
|
-
"exhaust",
|
|
944
|
-
"friction",
|
|
945
|
-
"hydraulic",
|
|
946
|
-
"other",
|
|
947
|
-
"none"
|
|
948
|
-
]
|
|
939
|
+
"$ref": "#/properties/techRecord_brakes_retarderBrakeOne/anyOf/0"
|
|
949
940
|
},
|
|
950
941
|
{
|
|
951
942
|
"type": "null"
|
|
@@ -921,16 +921,7 @@
|
|
|
921
921
|
"techRecord_brakes_retarderBrakeTwo": {
|
|
922
922
|
"anyOf": [
|
|
923
923
|
{
|
|
924
|
-
"
|
|
925
|
-
"type": "string",
|
|
926
|
-
"enum": [
|
|
927
|
-
"electric",
|
|
928
|
-
"exhaust",
|
|
929
|
-
"friction",
|
|
930
|
-
"hydraulic",
|
|
931
|
-
"other",
|
|
932
|
-
"none"
|
|
933
|
-
]
|
|
924
|
+
"$ref": "#/properties/techRecord_brakes_retarderBrakeOne/anyOf/0"
|
|
934
925
|
},
|
|
935
926
|
{
|
|
936
927
|
"type": "null"
|
|
@@ -836,16 +836,7 @@
|
|
|
836
836
|
"techRecord_brakes_retarderBrakeTwo": {
|
|
837
837
|
"anyOf": [
|
|
838
838
|
{
|
|
839
|
-
"
|
|
840
|
-
"type": "string",
|
|
841
|
-
"enum": [
|
|
842
|
-
"electric",
|
|
843
|
-
"exhaust",
|
|
844
|
-
"friction",
|
|
845
|
-
"hydraulic",
|
|
846
|
-
"other",
|
|
847
|
-
"none"
|
|
848
|
-
]
|
|
839
|
+
"$ref": "#/properties/techRecord_brakes_retarderBrakeOne/anyOf/0"
|
|
849
840
|
},
|
|
850
841
|
{
|
|
851
842
|
"type": "null"
|
|
@@ -890,16 +890,7 @@
|
|
|
890
890
|
"techRecord_brakes_retarderBrakeTwo": {
|
|
891
891
|
"anyOf": [
|
|
892
892
|
{
|
|
893
|
-
"
|
|
894
|
-
"type": "string",
|
|
895
|
-
"enum": [
|
|
896
|
-
"electric",
|
|
897
|
-
"exhaust",
|
|
898
|
-
"friction",
|
|
899
|
-
"hydraulic",
|
|
900
|
-
"other",
|
|
901
|
-
"none"
|
|
902
|
-
]
|
|
893
|
+
"$ref": "#/properties/techRecord_brakes_retarderBrakeOne/anyOf/0"
|
|
903
894
|
},
|
|
904
895
|
{
|
|
905
896
|
"type": "null"
|
|
@@ -868,16 +868,7 @@
|
|
|
868
868
|
"techRecord_brakes_retarderBrakeTwo": {
|
|
869
869
|
"anyOf": [
|
|
870
870
|
{
|
|
871
|
-
"
|
|
872
|
-
"type": "string",
|
|
873
|
-
"enum": [
|
|
874
|
-
"electric",
|
|
875
|
-
"exhaust",
|
|
876
|
-
"friction",
|
|
877
|
-
"hydraulic",
|
|
878
|
-
"other",
|
|
879
|
-
"none"
|
|
880
|
-
]
|
|
871
|
+
"$ref": "#/properties/techRecord_brakes_retarderBrakeOne/anyOf/0"
|
|
881
872
|
},
|
|
882
873
|
{
|
|
883
874
|
"type": "null"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvsa/cvs-type-definitions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "type definitions for cvs vta and vtm applications",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"typescript": "^4.8.4"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@apidevtools/json-schema-ref-parser": "^12.0.2",
|
|
28
29
|
"ajv": "^8.12.0",
|
|
29
30
|
"ajv-formats": "^3.0.1",
|
|
30
31
|
"json-schema-deref-sync": "^0.14.0",
|
package/schemas.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const schemas: readonly ["required-standards/defects/enums/euVehicleCategory.enum.json", "required-standards/defects/get/index.json", "required-standards/defects/requiredStandardTaxonomySection.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/enums/activityType.enum.json", "v1/enums/emissionStandard.enum.json", "v1/enums/fuelType.enum.json", "v1/enums/odometerReadingUnits.enum.json", "v1/enums/sources.enum.json", "v1/enums/testResult.enum.json", "v1/enums/testStationType.enum.json", "v1/enums/testStatus.enum.json", "v1/enums/typeOfTest.enum.json", "v1/enums/vehicleType.enum.json", "v1/enums/waitReason.enum.json", "v1/reason-item/index.json", "v1/recalls/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-
|
|
1
|
+
export declare const schemas: readonly ["enums/euVehicleCategory.enum.json", "enums/vehicleConfiguration.enum.json", "enums/vehicleSize.enum.json", "enums/vehicleSubclass.enum.json", "enums/vehicleType.enum.json", "required-standards/defects/enums/euVehicleCategory.enum.json", "required-standards/defects/get/index.json", "required-standards/defects/requiredStandardTaxonomySection.json", "test-type/enums/testTypeClassification.enum.json", "test-type/get/index.json", "test-type/nextTestTypesOrCategory.json", "test-type/testCode.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/enums/activityType.enum.json", "v1/enums/closureReason.enum.json", "v1/enums/emissionStandard.enum.json", "v1/enums/fuelType.enum.json", "v1/enums/odometerReadingUnits.enum.json", "v1/enums/sources.enum.json", "v1/enums/testResult.enum.json", "v1/enums/testStationType.enum.json", "v1/enums/testStatus.enum.json", "v1/enums/typeOfTest.enum.json", "v1/enums/vehicleType.enum.json", "v1/enums/waitReason.enum.json", "v1/reason-item/index.json", "v1/recalls/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-result-test-type/index.json", "v1/test-station/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/enums/adrAdditionalNotesNumber.enum.json", "v3/tech-record/enums/adrBodyDeclarationType.enum.json", "v3/tech-record/enums/adrBodyType.enum.json", "v3/tech-record/enums/adrCertificateTypes.enum.json", "v3/tech-record/enums/adrCompatibilityGroupJ.enum.json", "v3/tech-record/enums/adrDangerousGood.enum.json", "v3/tech-record/enums/adrTankDetailsTankStatementSelect.enum.json", "v3/tech-record/enums/adrTankStatementSubstancePermitted.json", "v3/tech-record/enums/approvalType.enum.json", "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json", "v3/tech-record/enums/euVehicleCategory.enum.json", "v3/tech-record/enums/euVehicleCategoryCar.enum.json", "v3/tech-record/enums/euVehicleCategoryHgv.enum.json", "v3/tech-record/enums/euVehicleCategoryLgv.enum.json", "v3/tech-record/enums/euVehicleCategoryPsv.enum.json", "v3/tech-record/enums/euVehicleCategorySmallTrl.enum.json", "v3/tech-record/enums/euVehicleCategoryTrl.enum.json", "v3/tech-record/enums/radioButtonOptions.enum.json", "v3/tech-record/enums/tc3Types.enum.json", "v3/tech-record/enums/tyreUseCodeHgv.enum.json", "v3/tech-record/enums/tyreUseCodeTrl.enum.json", "v3/tech-record/enums/vehicleClassDescription.enum.json", "v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json", "v3/tech-record/enums/vehicleConfigurationHgvPsv.enum.json", "v3/tech-record/enums/vehicleConfigurationLightVehicle.enum.json", "v3/tech-record/enums/vehicleConfigurationTrl.enum.json", "v3/tech-record/enums/vehicleSize.enum.json", "v3/tech-record/get/car/complete/index.json", "v3/tech-record/get/car/skeleton/index.json", "v3/tech-record/get/hgv/complete/index.json", "v3/tech-record/get/hgv/skeleton/index.json", "v3/tech-record/get/hgv/testable/index.json", "v3/tech-record/get/lgv/complete/index.json", "v3/tech-record/get/lgv/skeleton/index.json", "v3/tech-record/get/motorcycle/complete/index.json", "v3/tech-record/get/motorcycle/skeleton/index.json", "v3/tech-record/get/psv/complete/index.json", "v3/tech-record/get/psv/skeleton/index.json", "v3/tech-record/get/psv/testable/index.json", "v3/tech-record/get/search/index.json", "v3/tech-record/get/small trl/complete/index.json", "v3/tech-record/get/small trl/skeleton/index.json", "v3/tech-record/get/trl/complete/index.json", "v3/tech-record/get/trl/skeleton/index.json", "v3/tech-record/get/trl/testable/index.json", "v3/tech-record/put/car/complete/index.json", "v3/tech-record/put/car/skeleton/index.json", "v3/tech-record/put/hgv/complete/index.json", "v3/tech-record/put/hgv/skeleton/index.json", "v3/tech-record/put/hgv/testable/index.json", "v3/tech-record/put/lgv/complete/index.json", "v3/tech-record/put/lgv/skeleton/index.json", "v3/tech-record/put/motorcycle/complete/index.json", "v3/tech-record/put/motorcycle/skeleton/index.json", "v3/tech-record/put/psv/complete/index.json", "v3/tech-record/put/psv/skeleton/index.json", "v3/tech-record/put/psv/testable/index.json", "v3/tech-record/put/small trl/complete/index.json", "v3/tech-record/put/small trl/skeleton/index.json", "v3/tech-record/put/trl/complete/index.json", "v3/tech-record/put/trl/skeleton/index.json", "v3/tech-record/put/trl/testable/index.json"];
|