Index: tools/json_schema_compiler/test/arrays.json |
diff --git a/tools/json_schema_compiler/test/arrays.json b/tools/json_schema_compiler/test/arrays.json |
index 690d5cbb91919b0501d5d7826f8ccee061af31e6..23314e92f872779fcdd08daa85f026156f10c214 100644 |
--- a/tools/json_schema_compiler/test/arrays.json |
+++ b/tools/json_schema_compiler/test/arrays.json |
@@ -17,6 +17,48 @@ |
} |
}, |
{ |
+ "id": "Enumeration", |
+ "type": "string", |
+ "enum": ["one", "two", "three"] |
+ }, |
+ { |
+ "id": "EnumArrayReference", |
+ "type": "object", |
+ "properties": { |
+ "types": { |
+ "type": "array", |
+ "items": { |
+ "$ref": "Enumeration" |
+ } |
+ } |
+ } |
+ }, |
+ { |
+ "id": "EnumArrayMixed", |
+ "type": "object", |
+ "properties": { |
+ "inline_enums": { |
+ "type": "array", |
+ "items": { |
+ "type": "string", |
+ "enum": ["one", "two", "three"] |
+ } |
+ }, |
+ "infile_enums": { |
+ "type": "array", |
+ "items": { |
+ "$ref": "Enumeration" |
+ } |
+ }, |
+ "external_enums": { |
+ "type": "array", |
+ "items": { |
+ "$ref": "enums.Enumeration" |
+ } |
+ } |
+ } |
+ }, |
+ { |
"id": "OptionalEnumArrayType", |
"type": "object", |
"properties": { |