Index: tools/json_schema_compiler/test/json_schema_test.json |
diff --git a/tools/json_schema_compiler/test/json_schema_test.json b/tools/json_schema_compiler/test/json_schema_test.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0ac91316dc5de02d1289fb4f35e9d87613873842 |
--- /dev/null |
+++ b/tools/json_schema_compiler/test/json_schema_test.json |
@@ -0,0 +1,101 @@ |
+[ |
+ { |
+ "namespace": "compile", |
+ "functions": [], |
+ "types": {} |
+ }, |
+ |
+ { |
+ "namespace": "nocompile", |
+ "nocompile": true, |
+ "functions": [], |
+ "types": {} |
+ }, |
+ |
+ { |
+ "namespace": "functions", |
+ "functions": [ |
+ { |
+ "id": "one", |
+ "nocompile": true |
+ }, |
+ { |
+ "id": "two" |
+ }, |
+ { |
+ "id": "three", |
+ "nocompile": true |
+ }, |
+ { |
+ "id": "four" |
+ } |
+ ], |
+ |
+ "types": { |
+ "one": { "key": "value" } |
+ } |
+ }, |
+ |
+ { |
+ "namespace": "types", |
+ "functions": [ |
+ { "id": "one" } |
+ ], |
+ "types": { |
+ "one": { |
+ "key": "value", |
+ "nocompile": true |
+ }, |
+ "two": { |
+ "key": "value" |
+ }, |
+ "three": { |
+ "key": "value", |
+ "nocompile": true |
+ }, |
+ "four": { |
+ "key": "value" |
+ } |
+ } |
+ }, |
+ |
+ { |
+ "namespace": "nested", |
+ "properties": { |
+ "sync": { |
+ "functions": [ |
+ { |
+ "id": "one", |
+ "nocompile": true |
+ }, |
+ { |
+ "id": "two" |
+ }, |
+ { |
+ "id": "three", |
+ "nocompile": true |
+ }, |
+ { |
+ "id": "four" |
+ } |
+ ], |
+ "types": { |
+ "one": { |
+ "key": "value", |
+ "nocompile": true |
+ }, |
+ "two": { |
+ "key": "value" |
+ }, |
+ "three": { |
+ "key": "value", |
+ "nocompile": true |
+ }, |
+ "four": { |
+ "key": "value" |
+ } |
+ } |
+ } |
+ } |
+ } |
+] |