minItemsMaxItems | ||
open | /validator.html | |
type | json | { "value":[2] } |
type | schema | { "type":"object", "properties":{ "value":{"type":"array","minItems":2,"maxItems":4} } } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
type | json | { "value":[2,2] } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
type | json | { "value":[2,2,5,8] } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
type | json | { "value":[2,2,5,8,5] } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID |