summaryrefslogtreecommitdiffstats
path: root/tests/auto/partition/json-validation/type-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/partition/json-validation/type-schema.json')
-rw-r--r--tests/auto/partition/json-validation/type-schema.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/auto/partition/json-validation/type-schema.json b/tests/auto/partition/json-validation/type-schema.json
new file mode 100644
index 0000000..4aad2ac
--- /dev/null
+++ b/tests/auto/partition/json-validation/type-schema.json
@@ -0,0 +1,33 @@
+{
+ "description": "check if a property type is correct",
+ "type": "object",
+ "properties": {
+ "string": {
+ "type": "string"
+ },
+ "number": {
+ "type": "number"
+ },
+ "integer": {
+ "type": "integer"
+ },
+ "boolean": {
+ "type": "boolean"
+ },
+ "object": {
+ "type": "object"
+ },
+ "array": {
+ "type": "array"
+ },
+ "null": {
+ "type": "null"
+ },
+ "any": {
+ "type": "any"
+ },
+ "mixed": {
+ "type": ["string", "integer"]
+ }
+ }
+}