diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/is-my-json-valid/test/json-schema-draft4/default.json')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/is-my-json-valid/test/json-schema-draft4/default.json | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/is-my-json-valid/test/json-schema-draft4/default.json b/vnfmarket/src/main/webapp/vnfmarket/node_modules/is-my-json-valid/test/json-schema-draft4/default.json deleted file mode 100644 index 17629779..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +++ /dev/null @@ -1,49 +0,0 @@ -[ - { - "description": "invalid type for default", - "schema": { - "properties": { - "foo": { - "type": "integer", - "default": [] - } - } - }, - "tests": [ - { - "description": "valid when property is specified", - "data": {"foo": 13}, - "valid": true - }, - { - "description": "still valid when the invalid default is used", - "data": {}, - "valid": true - } - ] - }, - { - "description": "invalid string value for default", - "schema": { - "properties": { - "bar": { - "type": "string", - "minLength": 4, - "default": "bad" - } - } - }, - "tests": [ - { - "description": "valid when property is specified", - "data": {"bar": "good"}, - "valid": true - }, - { - "description": "still valid when the invalid default is used", - "data": {}, - "valid": true - } - ] - } -] |