-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch(cb2-10282): separate RequiredStandard object from SectionIVA (#159
) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Searle <[email protected]>
- Loading branch information
1 parent
99dcdc1
commit fe91e3f
Showing
9 changed files
with
437 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,43 @@ | ||
{ | ||
"title": "Section IVA", | ||
"title": "DefectGETIVA", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"sectionNumber", | ||
"sectionDescription", | ||
"vehicleTypes", | ||
"requiredStandards" | ||
"required" : [ | ||
"euVehicleCategories", | ||
"basic", | ||
"normal" | ||
], | ||
"properties": { | ||
"sectionNumber": { | ||
"type": ["string"] | ||
}, | ||
"sectionDescription": { | ||
"type": ["string"] | ||
"euVehicleCategories": { | ||
"type": "array", | ||
"items": { | ||
"anyOf" : [ | ||
{ | ||
"$ref": "../enums/euVehicleCategory.enum.json" | ||
} | ||
] | ||
} | ||
}, | ||
"requiredStandards": { | ||
"basic": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"rsNumber", | ||
"requiredStandard", | ||
"refCalculation", | ||
"additionalInfo", | ||
"inspectionTypes" | ||
], | ||
"properties": { | ||
"rsNumber": { | ||
"type": ["integer"] | ||
}, | ||
"requiredStandard": { | ||
"type": ["string"] | ||
}, | ||
"refCalculation": { | ||
"type": ["string"] | ||
}, | ||
"additionalInfo": { | ||
"type": ["boolean"] | ||
}, | ||
"inspectionTypes": { | ||
"type": "array", | ||
"items": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "../enums/inspectionType.ignore.json" | ||
} | ||
] | ||
} | ||
"anyOf": [ | ||
{ | ||
"$ref" : "../sectionIVA.json" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"additionalInformation": { | ||
"type": "object", | ||
"additionalProperties" : false, | ||
"required" : ["notes"], | ||
"properties": { | ||
"notes" : { | ||
"type" : ["string"] | ||
} | ||
"normal": { | ||
"type": "array", | ||
"items": { | ||
"anyOf": [ | ||
{ | ||
"$ref" : "../sectionIVA.json" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"title": "SectionIVA", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"sectionNumber", | ||
"sectionDescription", | ||
"requiredStandards" | ||
], | ||
"properties": { | ||
"sectionNumber": { | ||
"type": [ | ||
"string" | ||
] | ||
}, | ||
"sectionDescription": { | ||
"type": [ | ||
"string" | ||
] | ||
}, | ||
"requiredStandards": { | ||
"type": "array", | ||
"items": { | ||
"title": "Required Standard", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"rsNumber", | ||
"requiredStandard", | ||
"refCalculation", | ||
"additionalInfo", | ||
"inspectionTypes" | ||
], | ||
"properties": { | ||
"rsNumber": { | ||
"type": [ | ||
"integer" | ||
] | ||
}, | ||
"requiredStandard": { | ||
"type": [ | ||
"string" | ||
] | ||
}, | ||
"refCalculation": { | ||
"type": [ | ||
"string" | ||
] | ||
}, | ||
"additionalInfo": { | ||
"type": [ | ||
"boolean" | ||
] | ||
}, | ||
"inspectionTypes": { | ||
"type": "array", | ||
"items": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "./enums/inspectionType.ignore.json" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.