additionalProperties | ||
open | /validator.html | |
type | json | { "prop":"1", "additionalProp":"2" } |
type | schema | { "type":"object", "properties":{ "prop":{"type":"string"} } } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
type | schema | { "type":"object", "properties":{ "prop":{"type":"string"} }, "additionalProperties": false } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
type | schema | { "type":"object", "properties":{ "prop":{"type":"string"} }, "additionalProperties": {"type":"string"} } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
type | json | { "prop":"1", "additionalProp":2 } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID |