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 c5fbe9b0835f97edf1aa30be37d5ae92a0dc5d1c..a0edd548d0459cca10e8c61ed6737c0ddd5d08a7 100644 |
--- a/tools/json_schema_compiler/test/arrays.json |
+++ b/tools/json_schema_compiler/test/arrays.json |
@@ -116,7 +116,7 @@ |
"type": "array", |
"items": { |
"type": "object", |
- "additionalProperties": {"type": "any"} |
+ "additionalProperties": {"type": "integer"} |
} |
}, |
{ |
@@ -144,6 +144,53 @@ |
] |
}, |
{ |
+ "name": "justChoices", |
+ "type": "function", |
+ "description": "Takes some Choices.", |
+ "parameters": [ |
+ { |
+ "name": "choices", |
+ "choices": [ |
+ { "type": "integer" }, |
+ { "type": "boolean" }, |
+ { "type": "array", |
+ "items": {"$ref": "Item"} |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "choicesArray", |
+ "type": "function", |
+ "description": "Takes some Choices.", |
+ "parameters": [ |
+ { |
+ "name": "choices", |
+ "type": "array", |
+ "items": { |
+ "choices": [ |
+ { "type": "integer" }, |
+ { "type": "boolean" }, |
+ { "type": "array", |
+ "items": {"$ref": "Item"} |
+ } |
+ ] |
+ } |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
"name": "returnIntegerArray", |
"type": "function", |
"description": "Returns some integers.", |