TASK: Adding schema validation
This commit is contained in:
parent
cb418f5602
commit
d7de3a3659
1 changed files with 11 additions and 0 deletions
11
Resources/Private/Schema/Validation.schema.yaml
Normal file
11
Resources/Private/Schema/Validation.schema.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
type: dictionary
|
||||||
|
additionalProperties:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: dictionary
|
||||||
|
additionalProperties: false
|
||||||
|
# This validation sadly only hits the first level of validation, and options are not coverable with current validator
|
||||||
|
properties:
|
||||||
|
validator: {type: string, required: TRUE}
|
||||||
|
options: {type: dictionary, required: TRUE}
|
||||||
|
property: {type: string, required: FALSE}
|
Loading…
Reference in a new issue