failingJson
open /validator.html
type schema {
  "type":"object",
  "properties":{
    "stringOrNumber":{"type":["string","number"]},
    "booleanOrNull":{"type":["boolean","null"]}
  }
}
type json {
  "stringOrNumber":4.8,
  "booleanOrNull":["A","B"]
}
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent array value found, but a null is required
type schema {
  "type":"object",
  "properties":{
    "stringOrNumber":{"type":["string","number"]},
    "booleanOrNull":{"type":["boolean","null"]}
  }
}
type json {
  "stringOrNumber":4.8,
  "booleanOrNull":["A","B"]
}
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent array value found, but a null is required