Index: tools/json_schema_compiler/test/choices.json |
diff --git a/tools/json_schema_compiler/test/choices.json b/tools/json_schema_compiler/test/choices.json |
index e53ac13ea338efe1f0909c3e620f5f56249e7c29..24683c4c379a36bfb224b1dee9bb1d4129016a89 100644 |
--- a/tools/json_schema_compiler/test/choices.json |
+++ b/tools/json_schema_compiler/test/choices.json |
@@ -1,7 +1,27 @@ |
[ |
{ |
"namespace": "choices", |
- "types": [], |
+ "types": [ |
+ { |
+ "id": "ChoiceType", |
+ "type": "object", |
+ "properties": { |
+ "integers": { |
+ "choices": [ |
+ {"type": "array", "items": {"type": "integer", "minimum": 0}}, |
+ {"type": "integer"} |
+ ] |
+ }, |
+ "strings": { |
+ "choices": [ |
+ {"type": "array", "items": {"type": "string", "minimum": 0}}, |
+ {"type": "string"} |
+ ], |
+ "optional": true |
+ } |
+ } |
+ } |
+ ], |
"functions": [ |
{ |
"name": "takesIntegers", |