diff options
Diffstat (limited to 'data/test.schema.json')
| -rw-r--r-- | data/test.schema.json | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/data/test.schema.json b/data/test.schema.json index aa3cf8fec..00c52aef6 100644 --- a/data/test.schema.json +++ b/data/test.schema.json @@ -12,6 +12,7 @@ "type": "array", "items": { "type": "object", + "additionalProperties": false, "properties": { "file": { "type": "string" @@ -53,15 +54,19 @@ }, "matrix": { "type": "object", - "additionalProperties": { - "properties": { - "options": { + "properties": { + "options": { + "additionalProperties": { "type": "array", "items": { "type": "object", + "additionalProperties": false, "properties": { "val": { - "type": "string" + "type": ["string", "boolean", "null", "array"], + "items": { + "type": "string" + } }, "compilers": { "type": "object", @@ -86,7 +91,10 @@ "items": { "type": "object", "additionalProperties": { - "type": "string" + "type": ["string", "boolean", "array"], + "items": { + "type": "string" + } } } } @@ -110,6 +118,7 @@ "type": "array", "items": { "type": "object", + "additionalProperties": false, "properties": { "line": { "type": "string" @@ -120,6 +129,12 @@ "literal", "re" ] + }, + "count": { + "type": "integer" + }, + "comment": { + "type": "string" } }, "required": [ |
