TASK: Adding schema validation

This commit is contained in:
Ferdinand Kuhl 2016-08-01 01:00:43 +02:00
parent cb418f5602
commit d7de3a3659

View 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}