minLengthMaxLength
open /validator.html
type json {
  "value":"w"
}
type schema {
  "type":"object",
  "properties":{
    "value":{"type":"string","minLength":2,"maxLength":4}
  }
}  
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent JSON: INVALID
click bt-validate-php
waitForTextPresent JSON:
verifyTextPresent JSON: INVALID
type json {
  "value":"wo"
}
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent JSON: VALID
click bt-validate-php
waitForTextPresent JSON:
verifyTextPresent JSON: VALID
type json {
  "value":"wo7u"
}
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent JSON: VALID
click bt-validate-php
waitForTextPresent JSON:
verifyTextPresent JSON: VALID
type json {
  "value":"wo7us"
}
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent JSON: INVALID
click bt-validate-php
waitForTextPresent JSON:
verifyTextPresent JSON: INVALID